[前][次][番号順一覧][スレッド一覧]

ruby-changes:71518

From: Jeremy <ko1@a...>
Date: Sat, 26 Mar 2022 06:34:13 +0900 (JST)
Subject: [ruby-changes:71518] f79765abe8 (master): Update NEWS for {Kernel, TracePoint}#binding change

https://git.ruby-lang.org/ruby.git/commit/?id=f79765abe8

From f79765abe8dc3eb0a58c5a9dd7e91922e4aca1fa Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Fri, 25 Mar 2022 14:33:24 -0700
Subject: Update NEWS for {Kernel,TracePoint}#binding change

---
 NEWS.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/NEWS.md b/NEWS.md
index 61d334c3dd..d69d49e9f3 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -59,6 +59,10 @@ Note: We're only listing outstanding class updates. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L59
       empty, instead of returning the default value or
       calling the default proc. [[Bug #16908]]
 
+* Kernel
+    * Kernel#binding raises RuntimeError if called from a non-Ruby frame
+      (such as a method defined in C). [[Bug #18487]]
+
 * MatchData
     * MatchData#byteoffset has been added. [[Feature #13110]]
 
@@ -88,6 +92,10 @@ Note: We're only listing outstanding class updates. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L92
     * A Struct class can also be initialized with keyword arguments
       without `keyword_init: true` on `Struct.new` [[Feature #16806]]
 
+* TracePoint
+    * TracePoint#binding now returns `nil` for `c_call`/`c_return` TracePoints.
+      [[Bug #18487]]
+
 ## Stdlib updates
 
 *   The following default gem are updated.
@@ -184,5 +192,6 @@ The following deprecated APIs are removed. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L192
 [Feature #17881]: https://bugs.ruby-lang.org/issues/17881
 [Feature #18037]: https://bugs.ruby-lang.org/issues/18037
 [Feature #18351]: https://bugs.ruby-lang.org/issues/18351
+[Bug #18487]:     https://bugs.ruby-lang.org/issues/18487
 [Feature #18585]: https://bugs.ruby-lang.org/issues/18585
 [Feature #18598]: https://bugs.ruby-lang.org/issues/18598
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]