Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

> How would this work for other random number generators that don't
> supply genrand_int32()?

genrand_int32 is an internal function, only available in C for the Mersenne 
Twister generator.
random.SystemRandom() should provide getrandbytes as well, it would just call 
os.urandom(); I don't know other generators.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13396>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to