Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

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.

----------

_______________________________________
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