[#68845] [Ruby trunk - Feature #11056] [PATCH] lib/net/*: use io/wait methods instead of IO.select — normalperson@...
Issue #11056 has been updated by Eric Wong.
3 messages
2015/04/11
[#68945] [Ruby trunk - Feature #11083] [Open] Gemify net-telnet — shibata.hiroshi@...
Issue #11083 has been reported by Hiroshi SHIBATA.
4 messages
2015/04/21
[#68951] Re: [Ruby trunk - Feature #11083] [Open] Gemify net-telnet
— Eric Wong <normalperson@...>
2015/04/21
shibata.hiroshi@gmail.com wrote:
[#69012] [Ruby trunk - Feature #11105] [Open] ES6-like hash literals — shugo@...
Issue #11105 has been reported by Shugo Maeda.
5 messages
2015/04/29
[ruby-core:68716] [Ruby trunk - Bug #10901] Object#singleton_methods behaves differently depending on whether the singleton_class exists
From:
alxtskrnk@...
Date:
2015-04-01 18:12:59 UTC
List:
ruby-core #68716
Issue #10901 has been updated by bug hit. Is this a bug, and if not, why? ---------------------------------------- Bug #10901: Object#singleton_methods behaves differently depending on whether the singleton_class exists https://bugs.ruby-lang.org/issues/10901#change-52000 * Author: bug hit * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- ```ruby class Class1 def self.foo end end c1 = Class1.new instance_eigen = c1.singleton_class p instance_eigen.singleton_methods(false) instance_eigen.singleton_class p instance_eigen.singleton_methods(false) ``` before the eigen exists, singleton_methods returns the methods on the superclass of the non existent eigen after it's created singleton_methods returns [] The existence or non-existence of the eigen is an implementation detail that should not be exposed to the user, conceptually it always exists. So singleton_methods should treat a non existent eigen as an empty eigen, and not look to its superclass -- https://bugs.ruby-lang.org/