[issue29208] BlockingIOError during system startup

Dustin Spicuzza report at bugs.python.org
Sun Jan 8 12:03:53 EST 2017


Dustin Spicuzza added the comment:

Crap, after reading more carefully, I see that PEP was rejected in favor of PEP 524.

According to that PEP, then I must implement the wait_for_system_rng() function? It's a bit weird, because I'm not explicitly using the random module and don't care to use it, I'm using pkg_resources... which is importing the email parser which imports random which creates a random instance which causes this bug.

It seems to me then that the stdlib should be modified to avoid importing random unless they actually need it, otherwise this gets triggered. Or am I missing something here?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29208>
_______________________________________


More information about the Python-bugs-list mailing list