summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing/heap.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2014-12-17 14:35:49 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2014-12-17 14:35:49 (GMT)
commit438f4abb50bfb97e183564c18965c7f2c291f5c0 (patch)
tree8b481fd2636578a8b962246fe534c83d20fb85c3 /Lib/multiprocessing/heap.py
parent2a8ef68028be76918ed17bbbbbe2872b6d7633de (diff)
downloadcpython-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.py4
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: