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 Maciej Obarski
Recipients Maciej Obarski
Date 2017-02-06.07:27:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486366056.6.0.968381064219.issue29458@psf.upfronthosting.co.za>
In-reply-to
Content
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 sequences from older versions of Python" and "If a new seeding method is added, then a backward compatible seeder will be offered."
History
Date User Action Args
2017-02-06 07:27:36Maciej Obarskisetrecipients: + Maciej Obarski
2017-02-06 07:27:36Maciej Obarskisetmessageid: <1486366056.6.0.968381064219.issue29458@psf.upfronthosting.co.za>
2017-02-06 07:27:36Maciej Obarskilinkissue29458 messages
2017-02-06 07:27:36Maciej Obarskicreate