[issue1549] Regression with __hash__ definition and rich comparison operators
Guido van Rossum
report at bugs.python.org
Mon Dec 3 20:09:46 CET 2007
Guido van Rossum added the comment:
This was done intentionally -- if you define a comparison without
defining a hash, the default hash will not match your comparison, and
your objects will misbehave when used as dictionary keys.
Can you give more details about the Zope issue? I agree that needs to
be resolved before we release 2.6.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1549>
__________________________________
More information about the Python-bugs-list
mailing list