What's the value of "None" between 2.1.1 and 1.5.2

Gareth McCaughan Gareth.McCaughan at pobox.com
Fri Nov 30 17:24:01 EST 2001


The timbot wrote:

[Michael Abbott wrote:]
> > Of course, if you are sorting a list of arbitrary datatypes using random
> > datatypes as the key then you're in a state of sin.

If we're worrying about states of sin then it's time to
remove the "random" module, of course.

> More like potential sin <wink>:  many applications for sorting couldn't care
> less about a total ordering, they merely want to make "equal" elements
> adjacent, to simplify "the next" step

Which is, I have always assumed, why it's called "sorting".
Sorting is a mechanism that puts things of the same "sort"
together.

-- 
Gareth McCaughan  Gareth.McCaughan at pobox.com
.sig under construc



More information about the Python-list mailing list