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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, nadeem.vawda, pitrou, rhettinger
Date 2011-11-13.19:15:38
SpamBayes Score 5.6764762e-05
Marked as misclassified No
Message-id <1321211739.41.0.761105963652.issue13396@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-11-13 19:15:39amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, rhettinger, pitrou, nadeem.vawda
2011-11-13 19:15:39amaury.forgeotdarcsetmessageid: <1321211739.41.0.761105963652.issue13396@psf.upfronthosting.co.za>
2011-11-13 19:15:38amaury.forgeotdarclinkissue13396 messages
2011-11-13 19:15:38amaury.forgeotdarccreate