Issue #16955: Fix the poll() method for multiprocessing's socket

connections on Windows.
This commit is contained in:
Richard Oudkerk 2013-01-13 22:52:13 +00:00
commit 0ee84e04da
3 changed files with 15 additions and 1 deletions

View file

@ -405,7 +405,7 @@ class Connection(_ConnectionBase):
return self._recv(size)
def _poll(self, timeout):
r = wait([self._handle], timeout)
r = wait([self], timeout)
return bool(r)