]> granicus.if.org Git - python/commitdiff
Issue #23060: Suppresses a multiprocessing assert that fails incorrectly
authorSteve Dower <steve.dower@microsoft.com>
Wed, 17 Dec 2014 14:35:49 +0000 (06:35 -0800)
committerSteve Dower <steve.dower@microsoft.com>
Wed, 17 Dec 2014 14:35:49 +0000 (06:35 -0800)
This is to keep buildbots running while we figure out the best long-term fix.

Lib/multiprocessing/heap.py

index 9e3016c506c3b5a349a865a800d61965637b6aa6..333b3baf20f43b5d88b4c9b67a790dd2c5a4ff2c 100644 (file)
@@ -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: