[issue29025] random.seed() relation to hash() function and its determinism is vague

2016-12-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is out of date. See http://bugs.python.org/issue27706 -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue29025] random.seed() relation to hash() function and its determinism is vague

2016-12-21 Thread Jakub Mateusz Kowalski
Jakub Mateusz Kowalski added the comment: Python 2.7 I think note to the docs is enough. Python 3.5+ I have a doubt. Isn't .seed(a, version=1) still coupled with PYTHONHASHSEED? The manual says version 1 is "reproducing random sequences from older versions of Python", and for 3.1 (and

[issue29025] random.seed() relation to hash() function and its determinism is vague

2016-12-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: In Python 3.5 and Python 3.6, this is already fixed (decoupled from PYTHONHASHSEED). In Python 2.7, I could backport the fix, add a note to the docs, or just let it be (since seeding is turned off by default). The other versions of Python are already

[issue29025] random.seed() relation to hash() function and its determinism is vague

2016-12-20 Thread Jakub Mateusz Kowalski
New submission from Jakub Mateusz Kowalski: 2.7 (https://docs.python.org/2/library/random.html#random.seed) - warning about PYTHONHASHSEED (environmental variable) voiding determinism - no warning on -R interpreter switch - relation to hash() function omitted 2.6