[issue5169] Default hash not equal to id on AMD Sempron
Chema Cortés
report at bugs.python.org
Sat Feb 7 05:41:35 CET 2009
Chema Cortés <dev.xtrem at gmail.com> added the comment:
I also agree to close this bug as invalid. Indeed, there is not any
reason to make equal id(a) and hash(a), but the description of
"hashable" object from the documentation (but this is a different
issue).
'hash' and 'id' returns the same-wordsize integer (32bit): 'id' as
unsigned long (Py_uintptr_t), and 'hash' as signed long casted from
'id'.
Thanks for your time,
Chema
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5169>
_______________________________________
More information about the Python-bugs-list
mailing list