This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients christian.heimes, neologix, pitrou, sbt, vstinner
Date 2013-08-15.13:14:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Python doesn't have a builtin PRNG.

Of course it does. It's in the random module, and you can seed() it:

>>> random.seed(5)
>>> random.random()
>>> random.random()
>>> random.seed(5)
>>> random.random()

See e.g. issue12856. And the multiprocessing module:

> We use the OS's CPRNG such as /dev/urandom or CryptGenRandom().


> It's not only multiprocessing. What about forking webservers etc.
> that use HTTPS?

Well, are they affected? I haven't understood your previous answer.
("OpenSSL uses its own PRNG to create (amongst others) session keys for SSL connections")

Note that it seems debatable whether it's an OpenSSL bug:
Date User Action Args
2013-08-15 13:14:06pitrousetrecipients: + pitrou, vstinner, christian.heimes, neologix, sbt
2013-08-15 13:14:06pitrousetmessageid: <>
2013-08-15 13:14:05pitroulinkissue18747 messages
2013-08-15 13:14:05pitroucreate