summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-07-20 00:01:39 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-07-20 00:01:39 (GMT)
commitfb96089b136d498f2515c91fb1dac2a8a8a00482 (patch)
tree1f929db2ea4a3473f7eb5368531e0c3e64c532b9 /Lib/multiprocessing
parent49e175a572155ae2b9b14a2b9c7c57842a23d3b8 (diff)
downloadcpython-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.py4
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()