Message147567
| 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:57 | rhettinger | set | recipients:
+ rhettinger, amaury.forgeotdarc, pitrou, nadeem.vawda |
| 2011年11月13日 19:01:57 | rhettinger | set | messageid: <1321210917.23.0.838369487291.issue13396@psf.upfronthosting.co.za> |
| 2011年11月13日 19:01:54 | rhettinger | link | issue13396 messages |
| 2011年11月13日 19:01:54 | rhettinger | create |
|