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

Alex Martelli aleax at
Tue Sep 4 16:05:48 CEST 2001

"Marcin 'Qrczak' Kowalczyk" <qrczak at> wrote in message
news:slrn9p9gsh.415.qrczak at qrnik.zagroda...
> Tue, 4 Sep 2001 10:01:02 +0200, Alex Martelli <aleax at> pisze:
> > 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.
> c. Have two kinds of comparison, homogeneous and heterogeneous.
> This solves the complex numbers problem, but unfortunately not the
> str <-> unicode problem.

It 'solves' the problem of sorting a list that has ONE complex
number among a zillion other items, but as soon as you have
TWO complex numbers (no matter whether there's a zillion others)
you're hosed again.  Seems a half-solution to me:-).


More information about the Python-list mailing list