Re: [Python-Dev] total ordering.
12 May
2006
12 May
'06
4:39 a.m.
Edward Loper wrote:
It might be useful in some cases to have a keyword argument to sort/sorted that says to ignore exceptions arising from comparing elements, and leaves the ordering of non-comparable values undefined.
Why? Far better to use a key (or cmp if you really want) that imposes a total (or at least consistent) ordering. Otherwise sorting is random. Tim Delaney
6569
Age (days ago)
6569
Last active (days ago)
0 comments
1 participants
participants (1)
-
Delaney, Timothy (Tim)