Message268038
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. |
|
Date |
User |
Action |
Args |
2016-06-09 16:52:13 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, larry, christian.heimes |
2016-06-09 16:52:13 | ncoghlan | set | messageid: <1465491133.31.0.481170050469.issue27279@psf.upfronthosting.co.za> |
2016-06-09 16:52:13 | ncoghlan | link | issue27279 messages |
2016-06-09 16:52:13 | ncoghlan | create | |
|