diff options
author | Steve Dower <steve.dower@microsoft.com> | 2014-12-17 14:35:49 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2014-12-17 14:35:49 (GMT) |
commit | 438f4abb50bfb97e183564c18965c7f2c291f5c0 (patch) | |
tree | 8b481fd2636578a8b962246fe534c83d20fb85c3 /Lib/multiprocessing/heap.py | |
parent | 2a8ef68028be76918ed17bbbbbe2872b6d7633de (diff) | |
download | cpython-438f4abb50bfb97e183564c18965c7f2c291f5c0.zip cpython-438f4abb50bfb97e183564c18965c7f2c291f5c0.tar.gz cpython-438f4abb50bfb97e183564c18965c7f2c291f5c0.tar.bz2 |
Issue #23060: Suppresses a multiprocessing assert that fails incorrectly
This is to keep buildbots running while we figure out the best long-term fix.
Diffstat (limited to 'Lib/multiprocessing/heap.py')
-rw-r--r-- | Lib/multiprocessing/heap.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/multiprocessing/heap.py b/Lib/multiprocessing/heap.py index 9e3016c..333b3ba 100644 --- a/Lib/multiprocessing/heap.py +++ b/Lib/multiprocessing/heap.py @@ -54,7 +54,9 @@ if sys.platform == 'win32': def __setstate__(self, state): self.size, self.name = self._state = state self.buffer = mmap.mmap(-1, self.size, tagname=self.name) - assert _winapi.GetLastError() == _winapi.ERROR_ALREADY_EXISTS + # XXX Temporarily preventing buildbot failures while determining + # XXX the correct long-term fix. See issue 23060 + #assert _winapi.GetLastError() == _winapi.ERROR_ALREADY_EXISTS else: |