A suspected bug

A.M. Kuchling amk at mira.erols.com
Sun Feb 18 10:36:31 EST 2001


On Sun, 18 Feb 2001 11:12:57 GMT, Fredrik Lundh <fredrik at pythonware.com> wrote:
>except that it doesn't always work:

And as Andrew Dalke pointed out:
>>> L=[1j, 2j]
>>> L.sort()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: cannot compare complex numbers using <, <=, >, >=
>>>

--amk




More information about the Python-list mailing list