Removing Popen log files in threads is racy on Windows
未關閉
還沒有人認領這個 Issue。
OS-windows
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| BPO | 33369 |
|---|---|
| Nosy | @pfmoore, @tjguk, @pbos, @zware, @zooba |
| Files |
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-04-26.22:40:56.117>
labels = ['type-bug', 'OS-windows']
title = 'Removing Popen log files in threads is racy on Windows'
updated_at = <Date 2018-04-27.16:56:30.455>
user = 'https://github.com/pbos'
bugs.python.org fields:
activity = <Date 2018-04-27.16:56:30.455>
actor = 'pbos'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2018-04-26.22:40:56.117>
creator = 'pbos'
dependencies = []
files = ['47552']
hgrepos = []
issue_num = 33369
keywords = []
message_count = 3.0
messages = ['315822', '315825', '315850']
nosy_count = 5.0
nosy_names = ['paul.moore', 'tim.golden', 'pbos', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue33369'
versions = ['Python 2.7']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從連結的重現腳本 racy_windows.py 以及標題中描述的 Popen 行為開始。重現涉及在線程中移除 Popen 記錄檔的 Windows 競態,然後追蹤相關的 CPython 實作,並確定必須變更的行為。完成的標準是在不使受影響的 Python 2.7 行為發生回歸的情況下解決該競態。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100