Jorge Herskovic added the comment:

Ok, I *think* I tracked it down to Connections getting cleaned up in a 
non-orderly fashion, sometimes while _run_finalizers is executing. The 
following patch to lib/python3.4/multiprocessing/connection.py cures the 
problem on my machine.

@@ -124,10 +124,10 @@
         self._handle = handle
         self._readable = readable
         self._writable = writable
-
+        self._shutdown = util.Finalize(self, self._finalizer)
     # XXX should we use util.Finalize instead of a __del__?
-
-    def __del__(self):
+
+    def _finalizer(self):
         if self._handle is not None:
             self._close()

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24484>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to