[#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:68767] [Ruby trunk - Bug #11035] [Open] Calling #hash method: inconsistency between dynamic and static symbols
From:
ko1@...
Date:
2015-04-06 07:18:56 UTC
List:
ruby-core #68767
Issue #11035 has been reported by Koichi Sasada.
----------------------------------------
Bug #11035: Calling #hash method: inconsistency between dynamic and static symbols
https://bugs.ruby-lang.org/issues/11035
* Author: Koichi Sasada
* Status: Open
* Priority: Normal
* Assignee: Yukihiro Matsumoto
* ruby -v: 2.3dev
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
There is an inconsistency between static symbols and dynamic symbols.
```ruby
class Symbol
def hash
raise
end
end
h = {}
h[:foo] = 1 #=> no problem
h['bar'.to_sym] = 2 #=> unhandled exception
```
I think it should be same behavior.
My favorite is skip calling #hash for all Symbol objects.
--
https://bugs.ruby-lang.org/