[issue25960] Popen.wait() hangs when called from a signal handler when os.waitpid() does not

Gregory P. Smith report at bugs.python.org
Mon Feb 24 18:22:02 EST 2020


Gregory P. Smith <greg at krypto.org> added the comment:

yes, Popen's use of a lock since that change means that Popen.wait() cannot be called in an asynchronous context where its own execution could be blocking the execution of code that would unlock the lock.

at this point we should probably just document that.

----------

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


More information about the Python-bugs-list mailing list