[Security-sig] RFC: PEP: Make os.urandom() blocking on Linux
Barry Warsaw
barry at python.org
Thu Jun 23 08:48:43 EDT 2016
On Jun 22, 2016, at 06:31 PM, Nick Coghlan wrote:
> try:
> my_random = os.getrandom
> except AttributeError:
> my_random = os.urandom
Once Python 3.6 is widely available, and/or secrets is backported and
available on PyPI, why would you ever do that rather than just get the best
source of randomness out of the secrets module?
Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/security-sig/attachments/20160623/8a980da1/attachment.sig>
More information about the Security-SIG
mailing list