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.5 -c "from random import *; seed(1); print(repr(random()))" 0.13436424411240122 The reproducibility guarantee is limited to the seeder and the output of random(). The downstream algorithms are allowed to change. See https://docs.python.org/3/library/random.html#notes-on-reproducibility ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29458> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com