subprocess: Calling Popen.communicate() after Popen.stdout.read() returns an empty string
Offen
Dieses Issue hat noch niemand übernommen.
3.10
stdlib
topic-subprocess
type-bug
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
| BPO | 41406 |
|---|---|
| Nosy | @gpshead, @vstinner, @gst, @FrostMing |
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 2020-07-27.08:26:24.981>
labels = ['type-bug', 'library', '3.10']
title = 'subprocess: Calling Popen.communicate() after Popen.stdout.read() returns an empty string'
updated_at = <Date 2020-08-04.01:55:39.697>
user = 'https://github.com/frostming'
bugs.python.org fields:
activity = <Date 2020-08-04.01:55:39.697>
actor = 'gregory.p.smith'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-07-27.08:26:24.981>
creator = 'Frost Ming'
dependencies = []
files = []
hgrepos = []
issue_num = 41406
keywords = []
message_count = 4.0
messages = ['374366', '374436', '374769', '374783']
nosy_count = 4.0
nosy_names = ['gregory.p.smith', 'vstinner', 'gstarck', 'Frost Ming']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41406'
versions = ['Python 3.10']
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Keine Quelldatei oder kein Test ist angegeben. Beginne damit, das Zusammenspiel zwischen Popen.stdout.read() und Popen.communicate() nachzustellen, untersuche dann die subprocess-Implementierung und die vorhandenen Tests; die Aufgabe gilt erst als abgeschlossen, wenn das erwartete Verhalten bestätigt und eine Regressionstestabdeckung vorhanden ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100