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

2020-02-24 Thread Marek Marczykowski-Górecki

Change by Marek Marczykowski-Górecki :


--
keywords: +patch
pull_requests: +18010
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18650

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-02-24 Thread Marek Marczykowski-Górecki

Marek Marczykowski-Górecki  added the comment:

This is BTW similar to https://bugs.python.org/issue26848

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-02-24 Thread Marek Marczykowski-Górecki

New submission from Marek Marczykowski-Górecki :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com