David Carlier <dcarl...@afilias.info> added the comment:

Those are valid points honestly. OpenBSD's getentropy works that way indeed 
(getentropy has also been implemented into FreeBSD in the CURRENT branch couple 
of months ago).
So indeed os.urandom provides already a wrapping usage only this one gives the 
responsibility to the caller to handle cases when more than 256 bytes at a time.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33528>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to