Make implicit returns explicit in longobject.c (in CHECK_SMALL_INT)
未关闭
还没有人认领这个 Issue。
3.9 (EOL)
interpreter-core
type-feature
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
| BPO | 37812 |
|---|---|
| Nosy | @tim-one, @rhettinger, @mdickinson, @vstinner, @animalize, @gnprice, @sir-sigurd, @aeros |
| 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 2019-08-10.21:07:30.736>
labels = ['interpreter-core', 'type-feature', '3.9']
title = 'Make implicit returns explicit in longobject.c (in CHECK_SMALL_INT)'
updated_at = <Date 2019-09-22.06:41:33.865>
user = 'https://github.com/gnprice'
bugs.python.org fields:
activity = <Date 2019-09-22.06:41:33.865>
actor = 'aeros'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2019-08-10.21:07:30.736>
creator = 'Greg Price'
dependencies = []
files = []
hgrepos = []
issue_num = 37812
keywords = ['patch']
message_count = 36.0
messages = ['349359', '349360', '349376', '349377', '349379', '349414', '349418', '349420', '349425', '349429', '349430', '350352', '350353', '350378', '350380', '350398', '350402', '352670', '352685', '352688', '352689', '352690', '352691', '352693', '352694', '352695', '352709', '352781', '352833', '352834', '352836', '352837', '352838', '352842', '352904', '352963']
nosy_count = 8.0
nosy_names = ['tim.peters', 'rhettinger', 'mark.dickinson', 'vstinner', 'malin', 'Greg Price', 'sir-sigurd', 'aeros']
pr_nums = ['15203', '15216', '15448']
priority = 'normal'
resolution = None
stage = 'resolved'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue37812'
versions = ['Python 3.9']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 longobject.c 中的 CHECK_SMALL_INT 宏开始,在进行更改之前审查与 issue 关联的 PR 15203、15216 和 15448。确认哪些隐式返回仍在范围内,然后运行相关的 CPython 解释器测试,并验证返回已显式指定且行为未发生变化。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c
- 领域
- compilers
- Issue 类型
- 重构
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100