Message268593
| 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:51 | vstinner | set | recipients:
+ 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:51 | vstinner | set | messageid: <1465947651.2.0.97045286544.issue26839@psf.upfronthosting.co.za> |
| 2016年06月14日 23:40:51 | vstinner | link | issue26839 messages |
| 2016年06月14日 23:40:50 | vstinner | create |
|