Re: random module question

2005-06-07 Thread Raymond Hettinger
>> Is Mersenne Twister currently available at all in Jython, for example? Googling for "java mersenne twister" provides multiple hits including: http://www.axlradius.com/freestuff/Free.htm#MT Raymond -- http://mail.python.org/mailman/listinfo/python-list

Re: random module question

2005-06-06 Thread Roose
Raymond Hettinger wrote: > The answer is a qualified Yes. While the core generator (currently Thanks! That is the answer I'm looking for. And to Paul Rubin, it is a good point that Jython might not support it, but at this point it doesn't interest me. The program is only for myself anyway.

Re: random module question

2005-06-06 Thread Paul Rubin
"Raymond Hettinger" <[EMAIL PROTECTED]> 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 s

Re: random module question

2005-06-06 Thread Raymond Hettinger
>> 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 t

Re: random module question

2005-06-05 Thread Paul Rubin
"Roose" <[EMAIL PROTECTED]> 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? Can I rely on it > across different architectures and operating systems? > > I looked at the docs and couldn't find this stat

random module question

2005-06-05 Thread Roose
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? Can I rely on it across different architectures and operating systems? I looked at the docs and couldn't find this stated anywhere. My feeling is yes, but it's a f