[Python-Dev] Sorting

Scott Gilbert xscottg@yahoo.com
Mon, 22 Jul 2002 08:44:15 -0700 (PDT)


--- "Barry A. Warsaw" <barry@zope.com> wrote:
> 
> Because when a user looks at the methods of a list object and sees
> both .sort() and .stablesort() you now need to explain the difference,
> and perhaps give some hint as to why you'd want to choose one over the
> other.
> 

Or you could have an optional parameter that defaults to whatever the more
sane value should be (probably stable), and when the user stumbles across
this parameter they stumble across the docs too.

I think Tim's codebloat argument is more compelling.



__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com