[Python-Dev] BDFL ruling request: should we block forever waiting for high-quality random bits? (original) (raw)

Guido van Rossum guido at python.org
Thu Jun 9 12:16:54 EDT 2016


To expand on my idea of printing a warning, in 3.6 we could add a new Warning exception for this purpose, so you'd have command-line control over the behavior of os.urandom() by specifying -WXXX on your Python command line. For 3.5.2 that's too fancy though -- we can't add a new exception.

-- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160609/52f0b21e/attachment.html>



More information about the Python-Dev mailing list