Terry J. Reedy <tjre...@udel.edu> added the comment:

Martin, I do not understand. The default hash is based on id (as is default 
equality comparison), not value. Are you OK with hash values changing if the 
'value' changes? My understanding is that changing hash values for objects in 
sets and dicts is bad, which is why mutable builtins with value-based equality 
do not have hash values.

----------
title: Clarify hash() lifetime -> Clarify hash() constancy period

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13707>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to