[Python-3000] Total ordering and __cmp__

Collin Winter collinw at gmail.com
Wed Mar 21 20:22:07 CET 2007


On 3/20/07, Guido van Rossum <guido at python.org> wrote:
[snip]
> Or we could just have 2.6 warn about the presence (or use) of __cmp__
> -- users can write equivalent code using __lt__ etc. themselves and
> probably do a better job.

Fair enough.

Is anyone collecting a list of these --py3k warnings? There seem to be
a lot recent changes that 2.6's py3k-compat mode will be handling, but
I haven't seen anything about someone tracking them/working on a PEP
on the issue. Or did I just volunteer myself for that? : )

Collin Winter


More information about the Python-3000 mailing list