importlib: lazy loading can result in reimporting a submodule
オープン
まだ誰も着手していません。
3.10
3.11
3.9 (EOL)
stdlib
topic-importlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 39602 |
|---|---|
| Nosy | @brettcannon, @poxthegreat |
| 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-02-10.18:19:50.330>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = 'importlib: lazy loading can result in reimporting a submodule'
updated_at = <Date 2022-01-17.22:39:32.839>
user = 'https://github.com/poxthegreat'
bugs.python.org fields:
activity = <Date 2022-01-17.22:39:32.839>
actor = 'brett.cannon'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-02-10.18:19:50.330>
creator = 'Pox TheGreat'
dependencies = []
files = ['48889']
hgrepos = []
issue_num = 39602
keywords = []
message_count = 1.0
messages = ['361705']
nosy_count = 2.0
nosy_names = ['brett.cannon', 'Pox TheGreat']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue39602'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず添付された LazyImport.zip の例を調査して実行し、次に importlib の関連する遅延読み込みパスを追跡します。サブモジュールが再度インポートされる動作を確認し、その再現を使って、遅延読み込みを維持しながら再インポートを回避することを完了条件として定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100