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 rhettinger
Recipients amaury.forgeotdarc, nadeem.vawda, pitrou, rhettinger
Date 2011-11-13.19:01:54
SpamBayes Score 0.00032232451
Marked as misclassified No
Message-id <1321210917.23.0.838369487291.issue13396@psf.upfronthosting.co.za>
In-reply-to
Content
How would this work for other random number generators that don't supply genrand_int32()?

The API for random is supposed to be easily subclassable and reusable for other random number generators.  The requirements for those generators is intentionally kept minimal (i.e. they only need to supply random(), seed(), getstate() and setstate() and optionally getrandbits()).

I'm -0 on making this API fatter.
History
Date User Action Args
2011-11-13 19:01:57rhettingersetrecipients: + rhettinger, amaury.forgeotdarc, pitrou, nadeem.vawda
2011-11-13 19:01:57rhettingersetmessageid: <1321210917.23.0.838369487291.issue13396@psf.upfronthosting.co.za>
2011-11-13 19:01:54rhettingerlinkissue13396 messages
2011-11-13 19:01:54rhettingercreate