[Python-Dev] [Python-checkins] cpython: Describe the default hash correctly, and mark a couple of CPython

Terry Reedy tjreedy at udel.edu
Sun May 20 17:28:40 CEST 2012

On 5/20/2012 4:31 AM, nick.coghlan wrote:

> +   and ``x.__hash__()`` returns an appropriate value such that ``x == y``
> +   implies both that ``x is y`` and ``hash(x) == hash(y)``.

I don't understand what you were trying to say with
x == y implies x is y
but I know you know that that is not true ;=0.

More information about the Python-Dev mailing list