On Mar 3, 6:59 pm, Amir  Michail <amich...@gmail.com> wrote:
> Hi,
>
> Is it the case that the random module will always give the same
> results if given the same seed across all configurations (e.g.,
> architectures, compilers, etc.)?


If you need a repeatable sequence, such as for unit testing, you can
subclass random.Random to do it.  (See the source code to random.py
for example.)


Carl Banks

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to