Rich comparison methods don't work in sets?

Gustavo Narea me at
Sun Jun 21 08:27:32 EDT 2009

Hi, everyone.

OK, I got it  now! The value of the hash is not decisive, as __eq__
will still be called when the hashes match. It's like a filter, for
performance reasons.

It's really nice, I just tried it and it worked.

Thank you very, very much!!


  - Gustavo.

More information about the Python-list mailing list