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

ruby-changes:30368

From: shugo <ko1@a...>
Date: Thu, 8 Aug 2013 14:56:06 +0900 (JST)
Subject: [ruby-changes:30368] shugo:r42437 (trunk): * NEWS: add description of incompatibility introduced by r42396.

shugo	2013-08-08 14:56:01 +0900 (Thu, 08 Aug 2013)

  New Revision: 42437

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42437

  Log:
    * NEWS: add description of incompatibility introduced by r42396.
      [ruby-core:56329] [Bug #8722]

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42436)
+++ ChangeLog	(revision 42437)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Aug  8 14:54:18 2013  Shugo Maeda  <shugo@r...>
+
+	* NEWS: add description of incompatibility introduced by r42396.
+	  [ruby-core:56329] [Bug #8722]
+
 Thu Aug  8 14:50:36 2013  NARUSE, Yui  <naruse@r...>
 
 	* common.mk (mini): portable target to build miniruby
Index: NEWS
===================================================================
--- NEWS	(revision 42436)
+++ NEWS	(revision 42437)
@@ -76,6 +76,13 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L76
   * incompatible changes:
     * open ignore internal encoding if external encoding is ASCII-8BIT.
 
+* Kernel#eval, Kernel#instance_eval, and Module#module_eval.
+  * Copies the scope information of the original environment, which means
+    that private, protected, public, and module_function without arguments
+    do not affect the environment outside the eval string.
+    For example, `class Foo; eval "private"; def foo; end; end' doesn't make
+    Foo#foo private.
+
 * Kernel#untrusted?, untrust, and trust
   * These methods are deprecated and their behavior is same as tainted?,
     taint, and untaint, respectively.  If $VERBOSE is true, they show warnings.

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

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