[issue18120] multiprocessing: garbage collector fails to GC Pipe() end when spawning child process

Richard Oudkerk report at bugs.python.org
Sun Jun 2 21:49:10 CEST 2013


Richard Oudkerk added the comment:

The way to deal with this is to pass the write end of the pipe to the child process so that the child process can explicitly close it -- there is no reason to expect garbage collection to make this happen automatically.

You don't explain the difference between functional.py and nonfunctional.py.  The most obvious thing is the fact that nonfunctional.py seems to have messed up indentation: you have a while loop in the class declaration instead of in the run() method.

----------
nosy: +sbt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18120>
_______________________________________


More information about the Python-bugs-list mailing list