Erik Max Francis asked: >Sure, you can come up with pathological cases. Let me point out some other cases. The __cmp__ might not be implemented, or it might do some type checking to ensure it is only compared with other objects of the same type. (While the latter is sometimes considered in poor taste, I have found it useful.) Andrew dalke at acm.org