Multi-threaded circular import fails with _DeadlockError when using importlib
オープン
まだ誰も着手していません。
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
stdlib
topic-importlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 38095 |
|---|---|
| Nosy | @rlamy |
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 2019-09-10.19:10:54.811>
labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
title = 'Multi-threaded circular import fails with _DeadlockError when using importlib'
updated_at = <Date 2019-09-10.19:10:54.811>
user = 'https://github.com/rlamy'
bugs.python.org fields:
activity = <Date 2019-09-10.19:10:54.811>
actor = 'Ronan.Lamy'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-09-10.19:10:54.811>
creator = 'Ronan.Lamy'
dependencies = []
files = []
hgrepos = []
issue_num = 38095
keywords = []
message_count = 1.0
messages = ['351738']
nosy_count = 1.0
nosy_names = ['Ronan.Lamy']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38095'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8', 'Python 3.9']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue で説明されているマルチスレッドの循環インポートを importlib を使って再現し、続いて importlib の関連する動作とスレッド間の相互作用を調査します。循環インポートが _DeadlockError で誤って失敗しなくなれば完了です。issue では、具体的なファイルやテストは特定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100