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). Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com