Guido rethinking removal of cmp from sort method

Paul Rubin no.email at nospam.invalid
Thu Mar 31 07:59:29 EDT 2011


Antoon Pardon <Antoon.Pardon at rece.vub.ac.be> writes:
> Something else the dev team can consider, is a Negation class....
> This would have to be done by the dev team since I
> guess that writing such a thing in Python would loose all the speed
> of using a key-function.

That is a good idea.  SQL has something like it, I think, and Haskell
also has it.  I thought about writing it in Python but it would slow
things down a lot.  I hadn't thought of writing it in C for some reason.



More information about the Python-list mailing list