[issue40826] PyOS_InterruptOccurred() now requires to hold the GIL: PyOS_Readline() crash

David Bolen report at bugs.python.org
Wed Jun 10 03:21:24 EDT 2020


David Bolen <db3l.net at gmail.com> added the comment:

So a script I use on the buildbot intended to prevent hanging on assertions was failing to work in this particular case, which I've corrected.  That changes the failure mode for new Win10 buildbot runs.

The test in question (test_close_stdin) still fails, but does so immediately (return code not 0, as the child process aborts) rather than timing out.  

If the assertion is expected, and something to be ignored, the test itself still needs to handle that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40826>
_______________________________________


More information about the Python-bugs-list mailing list