Is 0 > None?? (fwd) (fwd)

Hernan M. Foffani hfoffani at
Tue Sep 4 11:48:32 CEST 2001

"Alex Martelli" <aleax at> wrote:
> ....
> Comparison issues, and sorting of heterogeneous lists in
> particular, ARE central to the new noncomparable behavior
> of complex numbers.  I see no solution to THAT one, save:
>     a. either drop the pretense that it makes sense to
>         compare heterogeneous entities, or
>     b. regress the change that makes it illegal to compare
>         complex numbers.
> [a] might be conceptually cleaner but would break oodles
> of existing code, I think.  [b] might be deemed inelegant
> by some, but it WOULD be by far the most practical approach.

[b] plus a RuntimeWarning on any "heterotypes" lt/gt operations?
(I don't have the slightest idea of the work needed to apply this
change to the core.)


-------------------- http://NewsReader.Com/ --------------------
                    Usenet Newsgroup Service

More information about the Python-list mailing list