Immortalize/defer all functions in `__builtins__`
未关闭
还没有人认领这个 Issue。
interpreter-core
type-feature
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
Feature or enhancement
Proposal:
We should immortalize all functions in the builtins module. This has benefits for the JIT, and will move the default build closer to the FT build.
Has this already been discussed elsewhere?
I have already discussed this feature proposal on Discourse
Links to previous discussion of this feature:
https://discuss.python.org/t/immortalize-defer-reference-count-all-functions-in-builtins/96365
Linked PRs
- gh-135851
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 没有列出源文件或测试。首先阅读链接的 PR gh-135851 和链接的 Discourse 讨论,以确定实现入口点和相关测试;当 builtins 模块中的所有函数都按提议被 immortalize 或 deferred,且受影响的测试通过时,工作即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- compilers
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100