Items put on Queue in thread in child process sometimes not seen by parent process
オープン
まだ誰も着手していません。
stdlib
topic-multiprocessing
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 41614 |
|---|---|
| Nosy | @alexmojaki |
| 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-08-22.11:42:15.115>
labels = ['3.7', '3.8', '3.10']
title = 'Items put on Queue in thread in child process sometimes not seen by parent process'
updated_at = <Date 2020-08-22.11:42:15.115>
user = 'https://github.com/alexmojaki'
bugs.python.org fields:
activity = <Date 2020-08-22.11:42:15.115>
actor = 'alexmojaki'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2020-08-22.11:42:15.115>
creator = 'alexmojaki'
dependencies = []
files = ['49422']
hgrepos = []
issue_num = 41614
keywords = []
message_count = 1.0
messages = ['375795']
nosy_count = 1.0
nosy_names = ['alexmojaki']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue41614'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.10']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、提供された再現スクリプトである queue_bug.py を実行し、その詳細なコメントに従って、子プロセスのスレッドから Queue に入れられたアイテムが親プロセスで欠落するタイミングを確認します。関連する multiprocessing のキュー動作を追跡し、報告されたケースのリグレッションテストを確立します。完了の条件は、親プロセスがキューに入れられたアイテムを確実に認識できることです。issue ではテストファイルは指定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- operating-systems
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 28/100