[issue1549] Regression with __hash__ definition and rich comparison operators

Guido van Rossum report at bugs.python.org
Mon Dec 3 20:32:33 CET 2007


Guido van Rossum added the comment:

You have a point. Can you suggest a patch that fixes this?

Question though -- what semantics are used for __lt__ and __gt__ that
they don't require overriding __eq__?

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1549>
__________________________________


More information about the Python-bugs-list mailing list