Jean-Paul Calderone added the comment: zope.interface.interface.InterfaceClass implements __lt__ and __gt__. It doesn't override any of the other comparison methods, and it relies on inheriting an identity-based __hash__ from its parent.
Disabling __hash__ when __cmp__ or __eq__ is defined makes sense, but it does not seem like it needs to be disabled if only __lt__ or __gt__ is defined. __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1549> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com