random module question

Paul Rubin http
Mon Jun 6 15:14:09 EDT 2005


"Raymond Hettinger" <python at rcn.com> writes:
> >> Can I rely on the random.py module to produce the same series of
> >> numbers for future/past versions of Python, given the same seed?
> 
> The answer is a qualified Yes.  While the core generator (currently the
> Mersenne Twister algorithm) is subject to change across versions,
> whenever we've updated the generator, a backward compatable version is
> offered (random.WichmannHill for example). 

Is Mersenne Twister currently available at all in Jython, for example?



More information about the Python-list mailing list