Any built-in ishashable method ?

Peter Otten __peter__ at web.de
Fri Jan 18 07:06:13 EST 2013


Jean-Michel Pichavant wrote:

> That brings me to another question, is there any valid test case where
> key1 != key2 and hash(key1) == hash(key2) ? Or is it some kind of design
> flaw ?

I don't think there is a use case for such a behaviour other than annoying 
your collegues ;)




More information about the Python-list mailing list