Some comparison operators gone in Python 3.0?

George Sakkis george.sakkis at gmail.com
Tue May 13 06:55:37 EDT 2008


On May 13, 6:18 am, "Gabriel Genellina" <gagsl-... at yahoo.com.ar>
wrote:
> En Tue, 13 May 2008 06:34:03 -0300, <wxPytho... at gmail.com> escribió:
>
> > Is that true that this comparison operators are gone in Python 3.0:
>
> > <    (is less than)
> >>    (is greater than)
> > <= (is less than or equals)
> >> = (is greater than or equals)
>
> > Is it true?
>
> May I ask *where* did you read that crazy idea?

My guess is that he heard about the TypeErrors to be raised when
comparing values of different types and he misinterpreted it,
deliberately or not.

George



More information about the Python-list mailing list