[issue35182] Popen.communicate() breaks when child closes its side of pipe but not exits

Andriy Maletsky report at bugs.python.org
Thu Oct 31 12:59:47 EDT 2019


Andriy Maletsky <andriy.maletsky at gmail.com> added the comment:

@josh.r but you’re correct regarding cached data that isn’t sent on subsequent communicate() calls. If the child consumes the input too slowly, and timeout occurs before sending all input, the remaining part will be lost.

Maybe it is not a bug, but it’s quite a confusing behavior, and I think it should be mentioned in the doc.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35182>
_______________________________________


More information about the Python-bugs-list mailing list