From: Robert Dober Date: 2007-03-03T08:12:55+09:00 Subject: Re: Hash keys don't work as expected On 3/2/07, Rick DeNatale wrote: . > > If Hash used identity instead of hash then > > a = "key".freeze # make the key immutable > > h = {a => 1} > > h["key"] ==> nil > > even though nothing got mutated. > I missed that one too :) Good observation, how is this done in Python than? > -- > Rick DeNatale > > My blog on Ruby > http://talklikeaduck.denhaven2.com/ > > -- We have not succeeded in answering all of our questions. In fact, in some ways, we are more confused than ever. But we feel we are confused on a higher level and about more important things. -Anonymous