[Python-Dev] Sort() returning sorted list

Sean Reifschneider jafo@tummy.com
Tue, 20 Aug 2002 22:26:01 -0600


It would be nice to have, at times, sort() return the sorted list,
but doing so could lead people to believe that returns a sorted copy of
the list.  What about if we could do "list.sort(returnAfterSorting = 1)"
or something?  It'd be nice if it were short and sweet, but it should
be clear what it's doing too...

Sean
-- 
 Passionate hatred can give meaning and purpose to an empty life.
                 -- Eric Hoffer
Sean Reifschneider, Inimitably Superfluous <jafo@tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python