random module gives same results across all configurations?

Diez B. Roggisch deets at nospam.web.de
Wed Mar 4 04:56:29 EST 2009


Paul Rubin schrieb:
> "Diez B. Roggisch" <deets at nospam.web.de> writes:
>> Random uses AFAIK rand/srand from the stdlib.h of your platform (*nix,
>> no idea how that beast is called in redmond).
> 
> According to  http://docs.python.org/library/random.html
> it uses Mersenne Twister.

Yeah, I figured that out later, sorry for the FUD.

Diez



More information about the Python-list mailing list