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, ned.deily, pitti, python-dev, rhettinger, skrah, thomas-petazzoni, vstinner, ztane
Date 2016-06-08.22:22:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465424523.33.0.756292014599.issue26839@psf.upfronthosting.co.za>
In-reply-to
Content
> The current behavior (as of 9de508dc4837) is that it will never block on Linux, but could still block on other OS if called before /dev/urandom is initialized.

In practice, only Linux is impacted. See the rationale:
https://haypo-notes.readthedocs.io/pep_random.html#scope-of-the-python-blocks-at-startup-issue


> We have not determined a satisfactory solution for other operating systems.

Stoooop. This issue is specific to Linux. If you want to fix the issue on other operating systems, please open a new issue.

Oh, you know what? I already opened such issue :-) The issue #27266 wants to fix the issue on all platforms, not only Linux. Open a second issue if you prefer.
History
Date User Action Args
2016-06-08 22:22:03vstinnersetrecipients: + vstinner, lemburg, rhettinger, doko, larry, matejcik, ned.deily, alex, skrah, python-dev, martin.panter, ztane, dstufft, pitti, Lukasa, thomas-petazzoni, Colm Buckley, Theodore Tso
2016-06-08 22:22:03vstinnersetmessageid: <1465424523.33.0.756292014599.issue26839@psf.upfronthosting.co.za>
2016-06-08 22:22:03vstinnerlinkissue26839 messages
2016-06-08 22:22:03vstinnercreate