no more comparisons

Alan Isaac aisaac at american.edu
Thu Mar 13 00:52:01 CET 2008


Paul Rubin wrote:

> The cmp option should not be removed.  However, requiring 

> it to be specified as a keyword parameter instead of just 

> passed as an unlabelled arg is fine. 



Sure; I would have no problem with that.

But that is not what is happening.

As for Carl's suggestion to use ``key``:
this is already possible when it is convenient,
but it is not always convenient.  (Even aside
from memory considerations.)



By the way, I even saw mention of even removing the

``cmp`` built-in.



Cheers,

Alan Isaac





More information about the Python-list mailing list