[issue1717] Get rid of more references to __cmp__

Mark Dickinson report at bugs.python.org
Wed Jan 28 14:37:11 CET 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Thanks, Guilherme.

> For this reason I would actually prefer to them not be comparable.

That's fine with me, so long as we can be sure that there's no existing 
code that depends on them being comparable.  I can't figure out whether 
there's any legitimate way that the tp_compare slot (which is currently 
implemented) of a PyTclObject could ever be called.

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


More information about the Python-bugs-list mailing list