diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-20 00:01:39 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-20 00:01:39 (GMT) |
commit | fb96089b136d498f2515c91fb1dac2a8a8a00482 (patch) | |
tree | 1f929db2ea4a3473f7eb5368531e0c3e64c532b9 /Lib/multiprocessing | |
parent | 49e175a572155ae2b9b14a2b9c7c57842a23d3b8 (diff) | |
download | cpython-fb96089b136d498f2515c91fb1dac2a8a8a00482.zip cpython-fb96089b136d498f2515c91fb1dac2a8a8a00482.tar.gz cpython-fb96089b136d498f2515c91fb1dac2a8a8a00482.tar.bz2 |
Fix test_multiprocessing failure under Windows.
(followup to dfaa3a149a92)
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/queues.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/multiprocessing/queues.py b/Lib/multiprocessing/queues.py index 4696ccc..bb4c7d8 100644 --- a/Lib/multiprocessing/queues.py +++ b/Lib/multiprocessing/queues.py @@ -78,11 +78,11 @@ class Queue(object): def __getstate__(self): assert_spawning(self) - return (self._maxsize, self._reader, self._writer, + return (self._ignore_epipe, self._maxsize, self._reader, self._writer, self._rlock, self._wlock, self._sem, self._opid) def __setstate__(self, state): - (self._maxsize, self._reader, self._writer, + (self._ignore_epipe, self._maxsize, self._reader, self._writer, self._rlock, self._wlock, self._sem, self._opid) = state self._after_fork() |