os.chdir(), os.getcwd() may crash on Windows in presence of races
Offen
Dieses Issue hat noch niemand übernommen.
3.7 (EOL)
extension-modules
OS-windows
type-crash
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
| BPO | 32904 |
|---|---|
| Nosy | @pfmoore, @vstinner, @tjguk, @zware, @zooba, @izbyshev |
| PRs |
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 2018-02-22.01:00:15.765>
labels = ['extension-modules', '3.7', 'OS-windows', 'type-crash']
title = 'os.chdir(), os.getcwd() may crash on Windows in presence of races'
updated_at = <Date 2018-02-22.02:23:26.517>
user = 'https://github.com/izbyshev'
bugs.python.org fields:
activity = <Date 2018-02-22.02:23:26.517>
actor = 'izbyshev'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules', 'Windows']
creation = <Date 2018-02-22.01:00:15.765>
creator = 'izbyshev'
dependencies = []
files = []
hgrepos = []
issue_num = 32904
keywords = ['patch']
message_count = 2.0
messages = ['312524', '312527']
nosy_count = 6.0
nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'steve.dower', 'izbyshev']
pr_nums = ['5802']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue32904'
versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']
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
Lies zuerst python/cpython#5802 und den BPO-32904-Eintrag; das Issue nennt os.chdir() und os.getcwd() und identifiziert Race-Bedingungen unter Windows, aber keine Quelldateien oder Tests. Als erledigt gilt die Behebung des Absturzszenarios unter Beibehaltung der betroffenen APIs, wobei relevantes Race-Verhalten unter Windows durch Verifikation abgedeckt 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
- 20/100