[Python-3000] Total ordering and __cmp__

Georg Brandl g.brandl at gmx.net
Wed Mar 21 09:45:03 CET 2007


Guido van Rossum schrieb:
> I haven't taken any action, and it looks like __cmp__ isn't being
> called. I'd rather not add it back; if you want it back, could you at
> least write up a brief PEP? A patch would also help; I recall that it
> was quite a relief being able to cut it out, so I expect that patching
> it back in would be quite cumbersome.

BTW, was it intentional that dicts can't be compared via ">" and "<"
anymore?

Georg



More information about the Python-3000 mailing list