Python interpreter bug

alainpoint at yahoo.fr alainpoint at yahoo.fr
Fri Oct 7 10:07:51 EDT 2005


I understand this, Steve.
I thought the _cmp_ method was a helper for sorting purposes. Why is it
that a membership test needs to call the __cmp__ method?
If this isn't a bug, it is at least unexpected in my eyes.
Maybe a candidate for inclusion in the FAQ?
Thank you for answering
Alain




More information about the Python-list mailing list