Colm Buckley added the comment:

@pitti -

We already discussed this; there are cases where it's not practical to set an 
environment variable. The discussion eventually converged on "it is not 
desirable that Python should block on startup, regardless of system RNG status".

Re: the triggering bug; it was actually 
/lib/systemd/system-generators/systemd-crontab-generator (in systemd-cron) 
which caused the behavior to be noticed in Debian. It wasn't a change in 
systemd behavior, per se (that has been a Python script for some time), it was 
the fact that it was being called before the system PRNG had been initialized. 
With the change from /dev/urandom to getrandom() in 3.5.1, this caused a 
deadlock at boot.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26839>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to