Remove or enable unconditionally EXTRA_FUNCTIONALITY stuff from the _decimal module
未关闭
还没有人认领这个 Issue。
extension-modules
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
Bug report
Bug description:
I suspect this define was added to make some staging area for new functionality. Though, it has no pure-Python alternative, not tested by CI or build bots, has regressions (latest: https://github.com/python/cpython/issues/152870).
We should either remove this or include unconditionally, with appropriate support from _pydecimal.py.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先比较 _decimal 模块中对 EXTRA_FUNCTIONALITY 的处理与 _pydecimal.py 中对应的支持。检查 regression issue 152870 以及当前 CI 或 build-bot 的覆盖情况。完成的标准是移除 staging 功能或无条件启用它,并适当地覆盖 pure-Python 实现和回归问题。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100