copysort patch, was RE: [Python-Dev] inline sort option
Guido van Rossum
guido at python.org
Mon Oct 20 18:49:41 EDT 2003
> I would tend to put:
>
> sort = list.sorted
>
> at the top of my modules where needed.
Really? That would seem to just obfuscate things for the reader (who
would have to scroll back potentially many pages to find the one-line
definition of sort). Why be so keen on saving 7 keystrokes?
How many calls to list.sorted do you expect to have in your average
module?
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list