Status of PEP's?

James_Althoff at i2.com James_Althoff at i2.com
Mon Mar 4 20:27:36 EST 2002


[David Eppstein]
> The proposal is to extend it to
> also include three-way comparisons.

And, I assume, you mean three-way comparisons that are restricted to using
certain combinations of "< <= > =>"?

Since, for example, this kind of 3-way wouldn't work in a for-loop with
this proposal:

>>> i = 5
>>> 0 < i != 10
1
>>>

Jim





More information about the Python-list mailing list