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

Attachment: pgpUpmDU1TEyY.pgp
Description: OpenPGP digital signature

_______________________________________________
Security-SIG mailing list
Security-SIG@python.org
https://mail.python.org/mailman/listinfo/security-sig

Reply via email to