diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 13:53:38 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 13:53:38 +0000 |
commit | d0da57ac40bafaad95e90a375216ba1d9a658747 (patch) | |
tree | 050e10063c3ceff4fecaeaec4c333fe497e4d6cb /ChangeLog | |
parent | 3fd5f483c19eb3109cead3be412f23bf6a44f36c (diff) | |
download | ruby-d0da57ac40bafaad95e90a375216ba1d9a658747.tar.gz |
IPAddr#== and IPAddr#<=> no longer raise an exception if coercion fails
* lib/ipaddr.rb (IPAddr#==): If coercion fails, return false
instead of passing through the exception. [ruby-core:77451]
[Bug #12799]
* lib/ipaddr.rb (IPAddr#<=>): If coercion fails, return nil
instead of passing through the exception. [ruby-core:77451]
[Bug #12799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +Sat Nov 5 22:50:13 2016 Akinori MUSHA <knu@iDaemons.org> + + * lib/ipaddr.rb (IPAddr#==): If coercion fails, return false + instead of passing through the exception. [ruby-core:77451] + [Bug #12799] + + * lib/ipaddr.rb (IPAddr#<=>): If coercion fails, return nil + instead of passing through the exception. [ruby-core:77451] + [Bug #12799] + Sat Nov 5 22:11:33 2016 Kazuki Tsujimoto <kazuki@callcc.net> * vm_trace.c (tracepoint_attr_callee_id, rb_tracearg_callee_id): |