From e3ab670a715769d0d56530675127438bd137089b Mon Sep 17 00:00:00 2001 From: naruse Date: Thu, 10 Dec 2015 18:57:08 +0000 Subject: * 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 --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index eccd1be06c..4aac88b9c6 100644 --- a/NEWS +++ b/NEWS @@ -152,6 +152,10 @@ with all sufficient information, see the ChangeLog file. * Array#flatten and Array#flatten! no longer try to call #to_ary method on elements beyond the given level. [Bug #10748] + * Array#inspect doesn't raise error even if its content returns + a string which is not compatible with Encoding.default_external + as inspected result. [Feature #11801] + * Enumerable * Enumerable#chunk and Enumerable#slice_before no longer takes the initial_state argument. [Feature #10958] @@ -161,6 +165,11 @@ with all sufficient information, see the ChangeLog file. * On Windows File::Stat#ino always returned 0, but now returns BY_HANDLE_FILE_INFORMATION.nFileIndexHigh/Low. [Feature #11216] +* Hash + * Hash#inspect doesn't raise error even if its content returns + a string which is not compatible with Encoding.default_external + as inspected result. [Feature #11801] + * IO * IO#close doesn't raise when the IO object is closed. [Feature #10718] * IO#each_codepoint raises an exception at incomplete character -- cgit v1.2.3