chdir __exit__ is not safe
オープン
まだ誰も着手していません。
3.11
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 45545 |
|---|---|
| Nosy | @warsaw, @eryksun, @FFY00, @ucodery |
| PRs | |
| 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 2021-10-20.22:54:45.172>
labels = ['type-bug', '3.11']
title = 'chdir __exit__ is not safe'
updated_at = <Date 2021-10-26.17:30:32.350>
user = 'https://github.com/ucodery'
bugs.python.org fields:
activity = <Date 2021-10-26.17:30:32.350>
actor = 'ucodery'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2021-10-20.22:54:45.172>
creator = 'ucodery'
dependencies = []
files = ['50377']
hgrepos = []
issue_num = 45545
keywords = ['patch']
message_count = 14.0
messages = ['404534', '404550', '404552', '404557', '404568', '404613', '404718', '405011', '405012', '405019', '405021', '405022', '405025', '405052']
nosy_count = 4.0
nosy_names = ['barry', 'eryksun', 'FFY00', 'ucodery']
pr_nums = ['29218', '29220']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45545'
versions = ['Python 3.11']
Linked PRs
- gh-132982
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
test_chdir.py の最小再現から始め、提案されている方向性を理解するために既存の PR 29218、29220、gh-132982 を確認してください。再現を実行し、その後 chdir コンテキストマネージャーの実装とそのテストを追ってください。exit の安全でない動作が回帰テストでカバーされ、再現が失敗しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100