[Python-Dev] RNG in the core
lists at cheimes.de
Tue Jan 3 18:50:44 CET 2012
Am 03.01.2012 18:23, schrieb Matthieu Brucher:
> I'm not a core Python developer, but it may be intesting to use a real
> Crush resistant RNG, as one from Random123 (a parallel random generator
> that is Crush resistant, contrary to the Mersenne Twister, and without a
thanks for your input!
The core RNG is going to be part of the randomized hashing function
patch. The patch will be applied to all Python version from 2.6 to 3.3.
Some people may want to applied it to 2.4 and 2.5, too. As the patch is
going to affect six to eight Python versions, it should introduce as few
new code as possible. Any new code might be a source of new bugs. The
Mersenne Twister code is mature and works sufficiently as backup.
Any new RNG should go through a PEP process, too. You are welcome to
write a PEP and implement an additional RNG for the random module. New
developers and new ideas are well received.
More information about the Python-Dev