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

Alex Martelli aleaxit at yahoo.com
Sat Oct 25 09:08:15 EDT 2003


On Wednesday 22 October 2003 08:53 pm, Guido van Rossum wrote:
> > 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.

So, if I've followed correctly the lots of python-dev mail over the last
few days, that person (Aahz) is roughly +0 on list.sorted as classmethod
and thus we can go ahead.  Right?


Alex




More information about the Python-Dev mailing list