STINNER Victor added the comment:

> I have implemented and would continue to lean towards continuing to hide 
> BrokenPipeError on the additional API endpoints.

FYI asyncio.Process.communicate() ignores BrokenPipeError and 
ConnectionResetError, whereas asyncio.Process.stdin.drain() (coroutine to wait 
until all bytes are written) raises a BrokenPipeError or ConnectionResetError 
if the child process exited. I think subprocess has the same design.

(I modified recently asyncio to ignore BrokenPipeError in communicate(), it was 
a bug.)

----------

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

Reply via email to