[issue7491] metaclass __cmp__ is ignored

Jean-Paul Calderone report at bugs.python.org
Sun Dec 13 17:01:38 CET 2009


Jean-Paul Calderone <exarkun at divmod.com> added the comment:

Apparently type has __lt__ and the other rich cmp specials in Python
2.6, but lacked them in Python 2.5.  I suppose these are probably being
given precedence over the overridden __cmp__.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7491>
_______________________________________


More information about the Python-bugs-list mailing list