[issue28168] Use _winapi.WaitForMultipleObjects in Popen.wait()

Eryk Sun report at bugs.python.org
Fri Sep 16 20:13:00 EDT 2016


Eryk Sun added the comment:

Hopefully this is my last change until someone reviews this. I decided to make it an error to pass an empty sequence, which previously would implicitly wait on the SIGINT event. This way simplifies the code and prevents someone from accidentally waiting forever on SIGINT when it's ignored or doesn't raise an exception. There should always be at least 1 other handle in the wait list.

----------
Added file: http://bugs.python.org/file44700/issue_28168_04.patch

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


More information about the Python-bugs-list mailing list