Re: [Python-Dev] getting rid of default object.__hash__ (SF 660098)
22 Dec
2003
22 Dec
'03
1:23 p.m.
At 13:04 22.12.2003 -0800, Guido van Rossum wrote:
Since the default hash simply takes id() of the object, it's easy to fix such code once the failure is understood though.
Jython 2.2a0 on java1.4.0_02 (JIT: null) Type "copyright", "credits" or "license" for more information.
class C: pass ... id(C) 1 hash(C) 9174506
I see, but then there should be probably be a different way to spell the default hash, because id is not a sensible option for Jython etc
7403
Age (days ago)
7403
Last active (days ago)
1 comments
2 participants
participants (2)
-
Guido van Rossum
-
Samuele Pedroni