[Python-Dev] [Python-checkins] cpython: Describe the default hash correctly, and mark a couple of CPython (original) (raw)
Terry Reedy tjreedy at udel.edu
Sun May 20 17:28:40 CEST 2012
- Previous message: [Python-Dev] Backward compatibility of shutil.rmtree
- Next message: [Python-Dev] [Python-checkins] cpython: Describe the default hash correctly, and mark a couple of CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/20/2012 4:31 AM, nick.coghlan wrote:
+ and
x._hash_()
returns an appropriate value such thatx == y
+ implies both thatx is y
andhash(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.
- Previous message: [Python-Dev] Backward compatibility of shutil.rmtree
- Next message: [Python-Dev] [Python-checkins] cpython: Describe the default hash correctly, and mark a couple of CPython
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]