This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Maciej Obarski, mark.dickinson, rhettinger, vstinner
Date 2017-02-06.07:46:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486367212.2.0.333798341999.issue29458@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-02-06 07:46:52rhettingersetrecipients: + rhettinger, mark.dickinson, vstinner, Maciej Obarski
2017-02-06 07:46:52rhettingersetmessageid: <1486367212.2.0.333798341999.issue29458@psf.upfronthosting.co.za>
2017-02-06 07:46:52rhettingerlinkissue29458 messages
2017-02-06 07:46:51rhettingercreate