[docs] [issue32554] random.seed(tuple) uses the randomized hash function and so is not reproductible

Raymond Hettinger report at bugs.python.org
Mon Jan 15 13:46:17 EST 2018


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

> This is very confusing, I hope you can fix the behavior, not the doc string.

I'll fix the docstring to make it more specific.

We really don't want to use hash(obj) because it produces too few bits of entropy.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32554>
_______________________________________


More information about the docs mailing list