Python <python@example.invalid>: > Marko Rauhamaa wrote: > I didn't disagree with any of these statements about __hash__, but only > your statement about id and __eq__: > >> id() is actually an ideal return value of __hash__(). The only >> criterion is that the returned number should be different if the >> __eq__() is False. That is definitely true for id() > > nan is a clear, simple, undeniable counterexample to that claim.
Still, I don't see the point you are trying to make. Marko -- https://mail.python.org/mailman/listinfo/python-list