python / python/cpython

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

Offen
#80,986 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

topic-asyncio type-bug
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

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']

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der asyncio-subprocess-Komponente und reproduziere das in Issue 36805 beschriebene Verhalten, bei dem das Schließen von stdin auch einen Subprozess-Stream schließt. Verfolge den relevanten Stream-Lebenszyklus und füge Testabdeckung für diesen Fall hinzu oder finde sie; abgeschlossen ist die Aufgabe, wenn der Stream nicht als Nebeneffekt des Schließens von stdin geschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
backend, operating-systems
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.