__module__ attribute is not set correctly for a class created by direct metaclass call
オープン
まだ誰も着手していません。
3.7 (EOL)
3.8 (EOL)
3.9 (EOL)
interpreter-core
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 28869 |
|---|---|
| Nosy | @stevendaprano, @serhiy-storchaka, @ilevkivskyi, @Vgr255, @hongweipeng, @alegonz |
| 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 2016-12-04.21:09:34.786>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
title = '__module__ attribute is not set correctly for a class created by direct metaclass call'
updated_at = <Date 2019-10-13.11:03:48.103>
user = 'https://github.com/ilevkivskyi'
bugs.python.org fields:
activity = <Date 2019-10-13.11:03:48.103>
actor = 'serhiy.storchaka'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2016-12-04.21:09:34.786>
creator = 'levkivskyi'
dependencies = []
files = []
hgrepos = []
issue_num = 28869
keywords = ['patch']
message_count = 20.0
messages = ['282363', '282365', '282367', '282369', '282378', '345073', '345226', '345328', '345332', '345770', '345772', '345797', '345889', '345945', '348210', '348234', '348312', '354071', '354263', '354573']
nosy_count = 6.0
nosy_names = ['steven.daprano', 'serhiy.storchaka', 'levkivskyi', 'abarry', 'hongweipeng', 'alegonz']
pr_nums = ['14126', '14166', '16613']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue28869'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず issue の履歴と、参照されている 3 つの pull request(#14126、#14166、#16613)を読んでください。この issue はパッチレビュー中であり、すでに実装案が提案されています。タイトルに記載されているメタクラスの直接呼び出しの動作を再現し、既存の提案によって期待される module の値が設定されるかどうかを確認してください。動作が修正され、適切なリグレッションテストでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100