[issue32929] Change dataclasses hashing to use unsafe_hash boolean (default to False)
Guido van Rossum
report at bugs.python.org
Sat Feb 24 11:04:09 EST 2018
Guido van Rossum <guido at python.org> added the comment:
It is important to convey the idea that if you are thinking of using this you are probably doing something fishy.
An alternative could be `_hash`, which at least indicates it is not for general use, like `sys._getframe()`.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32929>
_______________________________________
More information about the Python-bugs-list
mailing list