[issue29458] random.seed version=1 behavior

2017-02-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry Marciej, this isn't a bug. The seeders are consistent. It is the code for randint() that has changed (to fix a minor imbalance in the distribution). $ python2.7 -c "from random import *; seed(1); print(repr(random()))" 0.13436424411240122 $ python3.

[issue29458] random.seed version=1 behavior

2017-02-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue29458] random.seed version=1 behavior

2017-02-05 Thread Xiang Zhang
Changes by Xiang Zhang : -- nosy: +haypo, mark.dickinson, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue29458] random.seed version=1 behavior

2017-02-05 Thread Maciej Obarski
New submission from Maciej Obarski: random.seed version=1 wont generate the same randint sequences in python2 and python3 Python 2.7: >>> seed(1); randint(0,100) 13 Python 3.6: >>> seed(1,version=1); randint(0,100) 17 The documentation states that versio=1 is "provided for reproducing random