commit | ed9e06cb21c4437aa87bb23c6509d3dd3274d0fc | [log] [tgz] |
---|---|---|
author | Richard Oudkerk <shibturn@gmail.com> | Sun Jan 13 22:46:48 2013 +0000 |
committer | Richard Oudkerk <shibturn@gmail.com> | Sun Jan 13 22:46:48 2013 +0000 |
tree | f9883ce2f4a7dd0e937b5a7c2160cb57e9d185ac | |
parent | f1b045f41740b1e25ecb5fc4f75003fac59c118a [diff] |
Issue #16955: Fix the poll() method for multiprocessing's socket connections on Windows.
diff --git a/Lib/multiprocessing/connection.py b/Lib/multiprocessing/connection.py index 2ae8a81..25b0326 100644 --- a/Lib/multiprocessing/connection.py +++ b/Lib/multiprocessing/connection.py
@@ -405,7 +405,7 @@ return self._recv(size) def _poll(self, timeout): - r = wait([self._handle], timeout) + r = wait([self], timeout) return bool(r)