diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-10 18:57:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-10 18:57:08 +0000 |
commit | e3ab670a715769d0d56530675127438bd137089b (patch) | |
tree | fc03650f2be31179d95edfdcdced79a1f02feaf5 /ChangeLog | |
parent | 9e0d92a4e458417e9acf594a00197c291b6393a4 (diff) | |
download | ruby-e3ab670a715769d0d56530675127438bd137089b.tar.gz |
* object.c (rb_inspect): dump inspected result with rb_str_escape()
instead of raising Encoding::CompatibilityError. [Feature #11801]
* string.c (rb_str_escape): added to dump given string like
rb_str_inspect without quotes and always dump in US-ASCII
like rb_str_dump.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Fri Dec 11 03:44:43 2015 NARUSE, Yui <naruse@ruby-lang.org> + + * object.c (rb_inspect): dump inspected result with rb_str_escape() + instead of raising Encoding::CompatibilityError. [Feature #11801] + + * string.c (rb_str_escape): added to dump given string like + rb_str_inspect without quotes and always dump in US-ASCII + like rb_str_dump. + Thu Dec 10 14:59:59 2015 Koichi Sasada <ko1@atdot.net> * test/ruby/test_gc.rb (test_expand_heap): relax condition (1->2). |