[Python-Dev] [RELEASED] Python 2.7 alpha 2

Nick Coghlan ncoghlan at gmail.com
Tue Jan 12 10:44:18 CET 2010

Lennart Regebro wrote:
> And, I just realized, it doesn't warn for you using cmp or __cmp__
> either, and 2to3 won't fix that, so it should actually warn for it.

I have a vague recollection that we tried to warn for that and ended up
nixing the warning due to vast swarms of false alarms (or because you
couldn't write correct 2.x code without triggering it).

I'd be happy for someone to prove my recollection wrong though (i.e. by
writing a patch that implements such warnings).


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list