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 vstinner
Recipients Colm Buckley, Lukasa, Theodore Tso, alex, doko, dstufft, larry, lemburg, martin.panter, matejcik, ncoghlan, ned.deily, pitti, python-dev, rhettinger, skrah, thomas-petazzoni, vstinner, ztane
Date 2016-06-14.23:40:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465947651.2.0.97045286544.issue26839@psf.upfronthosting.co.za>
In-reply-to
Content
Nick Coghlan: "One last fix needed to fully revert this is to remove the mention from the Python 3.5 What's New documentation: https://docs.python.org/3.5/whatsnew/3.5.html#os"

This sentence?

"The urandom() function now uses the getrandom() syscall on Linux 3.17 or newer, and getentropy() on OpenBSD 5.6 and newer, removing the need to use /dev/urandom and avoiding failures due to potential file descriptor exhaustion."

Why removing it? It's still correct that getrandom() is used by os.urandom() in the common case.

The corner case (urandom entropy pool not initialized) is already documented (including a "Changed in version 3.5.2: ..."):
https://docs.python.org/3.5/library/os.html#os.urandom

I don't think that it's worth to mention the corner case in What's New in Python 3.5.
History
Date User Action Args
2016-06-14 23:40:51vstinnersetrecipients: + vstinner, lemburg, rhettinger, doko, ncoghlan, larry, matejcik, ned.deily, alex, skrah, python-dev, martin.panter, ztane, dstufft, pitti, Lukasa, thomas-petazzoni, Colm Buckley, Theodore Tso
2016-06-14 23:40:51vstinnersetmessageid: <1465947651.2.0.97045286544.issue26839@psf.upfronthosting.co.za>
2016-06-14 23:40:51vstinnerlinkissue26839 messages
2016-06-14 23:40:50vstinnercreate