Argumentless super() fails in classes constructed with type()
未關閉
還沒有人認領這個 Issue。
interpreter-core
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| BPO | 29944 |
|---|---|
| Nosy | @ncoghlan, @vstinner, @benjaminp, @vadmium, @MojoVampire, @zhangyangyu, @DimitrisJim, @mr-nfamous, @cdonovick |
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 2017-03-30.06:36:49.869>
labels = ['type-bug']
title = 'Argumentless super() fails in classes constructed with type()'
updated_at = <Date 2022-03-28.16:25:17.773>
user = 'https://github.com/mr-nfamous'
bugs.python.org fields:
activity = <Date 2022-03-28.16:25:17.773>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2017-03-30.06:36:49.869>
creator = 'bup'
dependencies = []
files = []
hgrepos = []
issue_num = 29944
keywords = []
message_count = 8.0
messages = ['290823', '290843', '290856', '290858', '290889', '291347', '291349', '416185']
nosy_count = 9.0
nosy_names = ['ncoghlan', 'vstinner', 'benjamin.peterson', 'martin.panter', 'josh.r', 'xiang.zhang', 'Jim Fasarakis-Hilliard', 'bup', 'donovick']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue29944'
versions = ['Python 3.6']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
Issue 中沒有指定原始檔案或測試。先在使用 type() 建立的類別中重現不帶引數的 super() 失敗問題,然後追蹤相關的 CPython 實作和現有測試。完成的標準是:此建構支援不帶引數的 super(),且不破壞現有行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- compilers
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100