[New-bugs-announce] [issue29458] random.seed version=1 behavior
Maciej Obarski
report at bugs.python.org
Mon Feb 6 02:27:36 EST 2017
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 sequences from older versions of Python" and "If a new seeding method is added, then a backward compatible seeder will be offered."
----------
components: Extension Modules
messages: 287089
nosy: Maciej Obarski
priority: normal
severity: normal
status: open
title: random.seed version=1 behavior
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29458>
_______________________________________
More information about the New-bugs-announce
mailing list