PyType_FromSpec*() overwrites the type's "__module__"
オープン
まだ誰も着手していません。
3.10
3.9 (EOL)
topic-C-API
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 40703 |
|---|---|
| Nosy | @ncoghlan, @scoder, @encukou, @serhiy-storchaka, @miss-islington, @shihai1991 |
| PRs |
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-05-20.21:24:32.273>
labels = ['expert-C-API', 'type-bug', '3.9', '3.10']
title = 'PyType_FromSpec*() overwrites the type\'s "__module__"'
updated_at = <Date 2020-10-20.11:48:55.197>
user = 'https://github.com/scoder'
bugs.python.org fields:
activity = <Date 2020-10-20.11:48:55.197>
actor = 'petr.viktorin'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['C API']
creation = <Date 2020-05-20.21:24:32.273>
creator = 'scoder'
dependencies = []
files = []
hgrepos = []
issue_num = 40703
keywords = ['patch']
message_count = 4.0
messages = ['369476', '371215', '371220', '379114']
nosy_count = 6.0
nosy_names = ['ncoghlan', 'scoder', 'petr.viktorin', 'serhiy.storchaka', 'miss-islington', 'shihai1991']
pr_nums = ['20273', '20782']
priority = 'normal'
resolution = None
stage = 'resolved'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue40703'
versions = ['Python 3.9', 'Python 3.10']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず PyType_FromSpec* C API エントリポイントと、参照されている PR #20273 および #20782 を確認してください。この issue ではソースファイルもテストも指定されていません。意図された module の動作を確認し、報告された上書きが関連する C API カバレッジで対処されていることを検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, python
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 18/100