[issue20674] Update comments in dictobject.c
Terry J. Reedy
report at bugs.python.org
Thu Jun 23 14:36:35 EDT 2016
Terry J. Reedy added the comment:
Completely remove all reference to strings as it is normally completely wrong. In three runs of
list(map(hash, ("namea", "nameb", "namec", "named")))
I get
[-7801965690653662103, -712276634514874737, 4394438508544812081, -6975951345912708912]
[-1171799829, 419385606, 1995488749, 1433346153]
[551304887, -285234584, -553876274, -279423320]
Rewrite for ints only.
I am willing to apply, but cannot patch 3.4, so Raymond, if you want that, you will have to do it.
----------
nosy: +terry.reedy
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20674>
_______________________________________
More information about the Python-bugs-list
mailing list