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

Fred L. Drake, Jr. fdrake at acm.org
Mon Oct 20 15:30:59 EDT 2003


Guido van Rossum writes:
 > (Hm, an alternative would be to add a "sort=True" keyword
 > argument to list()...)

My immediate expectation on seeing that would be that the keyword args
for l.sort() would also be present.  It feels better to isolate that
stuff; keeping list.sorted(...) make more sense I think.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation



More information about the Python-Dev mailing list