[issue18811] add ssl-based generator to random module

Antoine Pitrou report at bugs.python.org
Fri Aug 23 16:36:16 CEST 2013


Antoine Pitrou added the comment:

> How about we generalize SystemRandom so  users can implement a custom
> RNG class wby providing a method rng(amount) -> bytes?

We may make it easier to implement custom Random implementations with
user-defined random generators, but they needn't be *SystemRandom*
subclasses ;-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18811>
_______________________________________


More information about the Python-bugs-list mailing list