4 Jan
2012
4 Jan
'12
2:38 a.m.
Terry J. Reedy <tjreedy@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 <report@bugs.python.org> <http://bugs.python.org/issue13707> _______________________________________