os.chdir(), os.getcwd() may crash on Windows in presence of races
未關閉
還沒有人認領這個 Issue。
3.7 (EOL)
extension-modules
OS-windows
type-crash
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| 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']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀相關的 python/cpython#5802 和 BPO-32904 紀錄;該 issue 提到了 os.chdir() 和 os.getcwd(),並指出了 Windows 上的競態條件,但沒有指定原始碼檔案或測試。完成的標準是解決崩潰情境,同時保留受影響的 APIs,並透過驗證涵蓋相關的 Windows 競態行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100