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

STINNER Victor report at bugs.python.org
Fri Sep 16 22:37:48 EDT 2016


STINNER Victor added the comment:

> I decided to make it an error to pass an empty sequence

It makes sense since the original WaitForMultipleObjects() also requires at least one object:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms687025(v=vs.85).aspx

nCount [in]

    The number of object handles in the array pointed to by lpHandles. The maximum number of object handles is MAXIMUM_WAIT_OBJECTS. This parameter cannot be zero.

----------

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


More information about the Python-bugs-list mailing list