Gregory P. Smith <g...@krypto.org> added the comment:

The need to call p1.stdout.close() has now been documented as part of 
issue7678.  Python 3.2's subprocess also has restore_signals=True as its 
default behavior so SIGPIPE is restored by default.

I do not think it is appropriate to to add the synchronization Peter suggested 
to the subprocess module to optimize that close call.  The potential delay due 
to python having to call p1.stdout.close() is non-fatal and should be assumed 
to exist anyways as you can't guarantee when an async event like a signal (in 
this case SIGPIPE) will actually reach the other process.

----------
assignee:  -> gregory.p.smith
resolution:  -> wont fix
status: open -> closed

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

Reply via email to