26 C APIs scheduled for removal in 3.16 are still present
未关闭
还没有人认领这个 Issue。
interpreter-core
topic-C-API
type-feature
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
Proposal:
Doc/deprecations/c-api-pending-removal-in-3.16.rst lists 26 C APIs due to be removed in 3.16. All 26 are still in Include/ on main, still marked Py_DEPRECATED:
-
PySys_SetArgv,PySys_SetArgvEx,Py_SetProgramName,Py_SetPythonHome - the 21
Py_*global configuration variables (GH-133654 open, draft) -
Py_UNICODE
Py_SetProgramName and PySys_SetArgv were removed once in 3.13 and restored in gh-117987 after it broke packages, so this is not a mechanical removal.
The file is also not included from Doc/deprecations/index.rst, so these deprecations are currently not listed on the Deprecations page.
Has this already been discussed elsewhere?
No response given
Linked PRs
- gh-154758
- gh-154759
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查 Doc/deprecations/c-api-pending-removal-in-3.16.rst、Doc/deprecations/index.rst 以及 Include/ 中受影响的声明。检查链接的 PR gh-154758 和 gh-154759,以及关于全局配置变量的 GH-133654。完成的标准是,所有列出的 API 的移除状态都已解决,并且 deprecations 页面包含相关文件。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c
- 领域
- api, documentation
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100