cpython icon indicating copy to clipboard operation
cpython copied to clipboard

Don't close subprocess stream if it's stdin is closed

Open asvetlov opened this issue 6 years ago • 1 comments

BPO 36805
Nosy @asvetlov, @1st1

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2019-05-05.18:30:29.393>
labels = ['type-bug', '3.8', 'expert-asyncio']
title = "Don't close subprocess stream if it's stdin is closed"
updated_at = <Date 2019-05-05.18:30:29.393>
user = 'https://github.com/asvetlov'

bugs.python.org fields:

activity = <Date 2019-05-05.18:30:29.393>
actor = 'asvetlov'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['asyncio']
creation = <Date 2019-05-05.18:30:29.393>
creator = 'asvetlov'
dependencies = []
files = []
hgrepos = []
issue_num = 36805
keywords = []
message_count = 1.0
messages = ['341467']
nosy_count = 2.0
nosy_names = ['asvetlov', 'yselivanov']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue36805'
versions = ['Python 3.8']

asvetlov avatar May 05 '19 18:05 asvetlov

Closing stdin FD by child stream is a legal operation, there is no reason to close entire subprocess transport immediately.

asvetlov avatar May 05 '19 18:05 asvetlov