On 11/17/07, Greg Ewing <[EMAIL PROTECTED]> wrote: > Martin v. Löwis wrote: > > or __cmp__ would > > have to be extended to support "unordered" as a result. > > That's what I think should be done.
Note that this would make it slightly easier to pass a custom sort function that forced everything to be totally ordered[*], but followed the standard ordering when one was available. [*] yes, it would be possible to trick this function with so that the end result for a full sequence depended on the order of comparisons. But that is already true with custom comparisons. -jJ _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com