isinstance(cls_with_metaclass, non_type) raises KeyError
まだ誰も着手していません。
評価
調査の方向性
まず、添付された tem3.py の再現プログラムを実行し、isinstance(cls_with_metaclass, non_type) が KeyError を発生させることを確認します。interpreter-core における isinstance の実装を追跡し、関連する回帰テストの場所を特定します。再現プログラムが KeyError を発生させなくなり、回帰テストでこの動作がカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
| BPO | 40180 |
|---|---|
| Nosy | @terryjreedy, @serhiy-storchaka, @isidentical |
| 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-04.19:28:49.901>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
title = 'isinstance(cls_with_metaclass, non_type) raises KeyError'
updated_at = <Date 2020-04-04.22:54:24.596>
user = 'https://github.com/terryjreedy'
bugs.python.org fields:
activity = <Date 2020-04-04.22:54:24.596>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-04-04.19:28:49.901>
creator = 'terry.reedy'
dependencies = []
files = ['49034']
hgrepos = []
issue_num = 40180
keywords = []
message_count = 5.0
messages = ['365774', '365776', '365791', '365797', '365801']
nosy_count = 3.0
nosy_names = ['terry.reedy', 'serhiy.storchaka', 'BTaskaya']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue40180'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python/cpython のほかの issue
-
docs pending
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
stdlib type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
build type-bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
stdlib topic-email type-feature
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
似ている issue
-
🐛 Bug 🔔 Pending processing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
jumpserver/jumpserver#17584 ·
-
link-check link-check:sphinx-theme
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
modelscope/DiffSynth-Studio#1702 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·