[issue12488] multiprocessing.Connection does not communicate pipe closure between parent and child

Charles-François Natali report at bugs.python.org
Mon Jul 4 15:24:10 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

That's because the other end of the pipe (p1) is open in the child process (FDs are inherited on fork()).
Just add
p1.close()

at the beginning of fn() and you'll get EOF.
Closing as invalid.

----------
nosy: +neologix
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list