[Python-Dev] total ordering.

Guido van Rossum guido at python.org
Sun May 7 17:25:14 CEST 2006


On 5/6/06, Vladimir Yu. Stepanov <root at renet.ru> wrote:
[proposing a total ordering between types]

It Ain't Gonna Happen. (From now on, I'll write this as IAGH.)

In Python 3000, we'll actually *remove* ordering between arbitrary
types as a feature; only types that explicitly care to be ordered with
respect to one another will be ordered. Equality tests are unaffected,
x==y will simply return False if x and y are of incomparable types;
but x<y (etc.) will raise an exception.

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list