IO streams locking can be broken after fork() with threads
オープン
まだ誰も着手していません。
stdlib
topic-IO
topic-multiprocessing
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 40399 |
|---|---|
| Nosy | @pitrou, @Delgan |
| 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 2020-04-26.16:58:22.058>
labels = ['3.8', 'type-bug', 'library', '3.9']
title = 'IO streams locking can be broken after fork() with threads'
updated_at = <Date 2020-04-29.16:43:20.805>
user = 'https://github.com/Delgan'
bugs.python.org fields:
activity = <Date 2020-04-29.16:43:20.805>
actor = 'pitrou'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-04-26.16:58:22.058>
creator = 'Delgan'
dependencies = []
files = ['49094']
hgrepos = []
issue_num = 40399
keywords = []
message_count = 8.0
messages = ['367317', '367509', '367510', '367516', '367522', '367525', '367674', '367675']
nosy_count = 2.0
nosy_names = ['pitrou', 'Delgan']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue40399'
versions = ['Python 3.8', 'Python 3.9']
Linked PRs
- gh-128591
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、アップロードされた bug.py の再現コードとリンク先の PR gh-128591 を確認し、続いて fork() とスレッドに関連する CPython の IO ストリームの挙動を追跡します。報告されたロック失敗を確認し、PR の現在の状態から残っている作業を判断します。適切な回帰テストのカバレッジを確保したうえで再現が失敗しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100