mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix test_multiprocessing failure under Windows.
(followup to dfaa3a149a92)
This commit is contained in:
parent
49e175a572
commit
fb96089b13
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue