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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18120>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to