[issue1717] Get rid of more refercenes to __cmp__

Mark Dickinson report at bugs.python.org
Tue Dec 9 03:47:01 CET 2008


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

> It is in the builtins in Python 2.x, so keeping it there would make
> porting easier, but then it's probably better to put it somewhere else
> to make people aware of the fact that the underlying machinery has
> changed.

from __past__ import cmp

?

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


More information about the Python-bugs-list mailing list