[Python-3000] Adding sorting to generator comprehension
Guido van Rossum
guido at python.org
Thu Apr 27 00:15:35 CEST 2006
Let me be the one to say no for a change.
Python 3000 will *not* add syntax to get generator expressions or list
(or set) comprehensions sorted. There is exactly one sort algorithm,
and it is list.sort(). There are exactly two sort APIs, the other
being the built-in sorted(). That's enough.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list