sorting a dictionary

Carlos Ribeiro cribeiro at mail.inet.com.br
Wed Feb 5 20:27:51 EST 2003


On Thursday 06 February 2003 12:18 am, Alex Martelli wrote:
> you CAN compare a complex number to a string -- just not to
> any other number.  Now, that is a "feature" I'm not going to
> try to defend (can anybody think of a GOOD reason, as opposed
> to an implementation detail leaking out...?).

Oops. It looks like a bug. It smells like a bug. It moves like a bug. But such 
trivial bugs do not exist, so it must be a feature :-)


Carlos Ribeiro





More information about the Python-list mailing list