[Python-Dev] Re: Guido's Magic Code was: inline sort option

Guido van Rossum guido at python.org
Thu Oct 30 10:34:45 EST 2003


> Your example was especially compelling:
>   
>     a = [3,2,1]
>     print a.sorted()
>     print list.sorted(a)

Well, I'd like to withdraw it.  Having all three of a.sort(),
a.sorted() and list.sorted(a) available brings back all the confusion
of a.sort() vs. a.sorted().  What's in CVS is just fine.

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



More information about the Python-Dev mailing list