[issue29208] BlockingIOError during system startup

2017-01-10 Thread Dustin Spicuzza
Dustin Spicuzza added the comment: I'm able to confirm that the patch does indeed fix the problem. Thanks everyone! -- ___ Python tracker ___

[issue29208] BlockingIOError during system startup

2017-01-08 Thread Martin Panter
Martin Panter added the comment: David you are right, thanks. Dustin: the exact patch you want is revision 0a55e039d25f. -- resolution: -> duplicate status: open -> closed superseder: -> Python 3.6 on Windows doesn't seed Random() well enough ___

[issue29208] BlockingIOError during system startup

2017-01-08 Thread Dustin Spicuzza
Dustin Spicuzza added the comment: I'll try applying that fix tomorrow and see if the issue is addressed. -- ___ Python tracker ___ __

[issue29208] BlockingIOError during system startup

2017-01-08 Thread David Vo
David Vo added the comment: It looks like this was already fixed in issue 29085. -- nosy: +auscompgeek ___ Python tracker ___ ___ Pyth

[issue29208] BlockingIOError during system startup

2017-01-08 Thread Martin Panter
Martin Panter added the comment: It looks like the logic for handling an error seeding from urandom is reversed: . Random_seed_urandom() actually returns -1 if is an exception set, and 0 if it was successful. The result would be a normal wo

[issue29208] BlockingIOError during system startup

2017-01-08 Thread Dustin Spicuzza
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 i

[issue29208] BlockingIOError during system startup

2017-01-08 Thread Dustin Spicuzza
New submission from Dustin Spicuzza: I haven't dug into this very deeply yet, so I'm seeking some clarity on this issue before doing so. According to my reading of PEP 522 (https://www.python.org/dev/peps/pep-0522/), BlockingIOError will be raised in security sensitive APIs, but not when just