[Python-Dev] RNG in the core (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Wed Jan 4 02:59:51 CET 2012


On Tue, 03 Jan 2012 23:21:30 +0100 "Martin v. Löwis" <martin at v.loewis.de> wrote:

> Have you read the following sentence: > > “Since some platforms may not have /dev/urandom, we need a PRNG in the > core, too. I therefore propose to move the Mersenne twister from > randommodule.c into the core, too.”

I disagree. We don't need a PRNG on platforms without /dev/urandom or any other native RNG.

Well what if /dev/urandom is unavailable because the program is run e.g. in a chroot? (or is /dev/urandom still available in a chroot?)

Regards

Antoine.



More information about the Python-Dev mailing list