copysort patch, was RE: [Python-Dev] inline sort option

Guido van Rossum guido at python.org
Wed Oct 22 14:53:21 EDT 2003


> Did the discussion of a sort() expression get resolved?
> 
> The last I remember was that the list.sorted() classmethod had won the
> most support because it accepted the broadest range of inputs.
> 
> I could live with that though I still prefer the more limited
> (list-only) copysort() method.

list.sorted() has won, but we are waiting from feedback from the
person who didn't like having both sort() and sorted() as methods, to
see if his objection still holds when one is a method and the other a
factory function.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list