From 438f4abb50bfb97e183564c18965c7f2c291f5c0 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Wed, 17 Dec 2014 06:35:49 -0800 Subject: [PATCH] Issue #23060: Suppresses a multiprocessing assert that fails incorrectly This is to keep buildbots running while we figure out the best long-term fix. --- Lib/multiprocessing/heap.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/multiprocessing/heap.py b/Lib/multiprocessing/heap.py index 9e3016c506c3..333b3baf20f4 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: -- 2.47.3