weakref class name are hardcoded in reprs
未關閉
還沒有人認領這個 Issue。
3.13
stdlib
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| BPO | 40383 |
|---|---|
| Nosy | @serhiy-storchaka, @corona10 |
| 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-04-25.03:05:17.540>
labels = ['3.8', 'type-feature', 'library']
title = 'weakref class name are hardcoded in reprs'
updated_at = <Date 2020-11-17.06:57:50.447>
user = 'https://github.com/OhBonsai'
bugs.python.org fields:
activity = <Date 2020-11-17.06:57:50.447>
actor = 'OhBonsai'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-04-25.03:05:17.540>
creator = 'OhBonsai'
dependencies = []
files = []
hgrepos = []
issue_num = 40383
keywords = ['patch']
message_count = 1.0
messages = ['367248']
nosy_count = 2.0
nosy_names = ['serhiy.storchaka', 'corona10']
pr_nums = ['19707']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue40383'
versions = ['Python 3.8']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先檢視 weakref 的 repr 實作以及現有的 python/cpython#19707 pull request。確認哪些類別名稱是硬編碼的,並將提議的行為與 issue 預期的變更進行比較。當 repr 不再依賴硬編碼的 weakref 類別名稱,且相關行為已獲得涵蓋時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- backend
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100