Incomparable abominations

Lulu of the Lotus-Eaters mertz at
Thu Mar 20 01:04:29 CET 2003

|> I want the ability to perform a total ordering on
|> Python objects, at least within a sort.

"Greg Ewing" <me at> wrote previously:
|In a recent discussion on python-dev, Guido has expressed
|favourable thoughts on introducing a before(x,y) operation
|for arbitrary ordering. So there is hope that we may get
|back the ability to sort arbitrary lists in some future

That would be great.  Hopefully this operation also rolled into a
.sort()-like method that avoids the function call overhead of using a
custom comparison function.

Or better still, the total ordering behavior can be the behavior of
[].sort() itself... while the current behavior can be retained under the


Yours, Lulu...

mertz@  | The specter of free information is haunting the `Net!  All the
gnosis  | powers of IP- and crypto-tyranny have entered into an unholy
.cx     | alliance...ideas have nothing to lose but their chains.  Unite
        | against "intellectual property" and anti-privacy regimes!

More information about the Python-list mailing list