Adjust _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES value automatically
オープン
@corona10 がすでに取り組んでいます。
2026年3月5日 から。
interpreter-core
topic-C-API
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
When a new built-in type is introduced, _Py_MAX_MANAGED_STATIC_BUILTIN_TYPES needs to be updated accordingly.
(e.g., https://github.com/python/cpython/commit/3e2f5c133f37f13f627404f3cbd54a5fc163887a, https://github.com/python/cpython/pull/145496#issuecomment-3997827812)
This is quite painful, and sometimes we even forget to adjust it. To prevent this kind of issue, we may need a way to update it automatically, or add a test that verifies it is set correctly.
cc @markshannon @Fidget-Spinner @vstinner
Linked PRs
- gh-149139
- gh-151004
- gh-151152
- gh-157582
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。