[docs] [issue28383] __hash__ documentation recommends naive XOR to combine but this is suboptimal

Alexander Belopolsky report at bugs.python.org
Fri Oct 7 12:38:45 EDT 2016


Alexander Belopolsky added the comment:

This makes sense.  Note that this is the way hashes are implemented for the datetime objects: <https://hg.python.org/cpython/file/v3.6.0b1/Lib/datetime.py#l635>.

----------
nosy: +belopolsky

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28383>
_______________________________________


More information about the docs mailing list