Martin Panter added the comment:

For the record, this issue seemed to forget about the effect of buffering the 
pipe to the subprocess’s input stream. Buffering an input pipe means that data 
is hidden away until it is flushed, and the close() method can raise a broken 
pipe error. I have sometimes found that forcing “bufsize=0” is easier than 
handling the extra broken pipe error.

Anyway I think the damage has already been done. However I did raise Issue 
19622 to clarify the documentation.

----------
nosy: +vadmium

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

Reply via email to