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 ncoghlan
Recipients christian.heimes, larry, lemburg, ncoghlan
Date 2016-06-09.16:52:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465491133.31.0.481170050469.issue27279@psf.upfronthosting.co.za>
In-reply-to
Content
As with other proposals to add new APIs, I think this is an overreaction to a Linux specific problem. Linux system boot could deadlock with 3.5.0 and 3.5.1 due to:

- CPython startup using os.urandom() when it wasn't necessary
- systemd invoking a Python script before the OS entropy pool had been initialised (which then deadlocked until the Python invocation timed out)

As long as we switch the internal hash algorithm to seeding from a non-blocking random source, and also ensure that importing the random module doesn't implicitly call os.urandom, then any other software that only needs pseudorandom data can just use the random module APIs.
History
Date User Action Args
2016-06-09 16:52:13ncoghlansetrecipients: + ncoghlan, lemburg, larry, christian.heimes
2016-06-09 16:52:13ncoghlansetmessageid: <1465491133.31.0.481170050469.issue27279@psf.upfronthosting.co.za>
2016-06-09 16:52:13ncoghlanlinkissue27279 messages
2016-06-09 16:52:13ncoghlancreate