[New-bugs-announce] [issue39744] asyncio.subprocess's communicate(None) does not close stdin

Marek Marczykowski-Górecki report at bugs.python.org
Mon Feb 24 17:09:41 EST 2020


New submission from Marek Marczykowski-Górecki <marmarek at mimuw.edu.pl>:

Standard subprocess's communicate() called with None input (or no argument at all closes process stdin. The asyncio variant does not.
This leads to issue with various processes that wait for EOF on stdin before terminating.

Test script attached.

----------
components: asyncio
files: commmunicate-test.py
messages: 362605
nosy: asvetlov, marmarek, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.subprocess's communicate(None) does not close stdin
versions: Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file48910/commmunicate-test.py

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


More information about the New-bugs-announce mailing list