os.chdir(), os.getcwd() may crash on Windows in presence of races
オープン
まだ誰も着手していません。
3.7 (EOL)
extension-modules
OS-windows
type-crash
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず python/cpython#5802 と BPO-32904 の記録を読みます。この issue では os.chdir() と os.getcwd() が挙げられ、Windows の race condition が特定されていますが、ソースファイルやテストは指定されていません。影響を受ける APIs を維持したままクラッシュシナリオを解決し、関連する Windows の race の動作を検証でカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100