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 David Carlier
Recipients David Carlier, benjamin.peterson, eitan.adler, rhettinger, serhiy.storchaka, vstinner
Date 2018-05-19.04:18:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1526703526.5.0.682650639539.issue33528@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-05-19 04:18:46David Carliersetrecipients: + David Carlier, rhettinger, vstinner, benjamin.peterson, serhiy.storchaka, eitan.adler
2018-05-19 04:18:46David Carliersetmessageid: <1526703526.5.0.682650639539.issue33528@psf.upfronthosting.co.za>
2018-05-19 04:18:46David Carlierlinkissue33528 messages
2018-05-19 04:18:46David Carliercreate