Remove deprecated C API objects slated for removal in 3.15
オープン
まだ誰も着手していません。
3.15
interpreter-core
topic-C-API
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Proposal:
This issue serves as a tracker for removing the following parts of the C API:
- Global configuration variables: #133654
- Process-wide parameters: #133661
-
PyImport_ImportModuleNoBlock: #133655 -
PyWeakref_GetObjectandPyWeakref_GET_OBJECT: #133657 - Functions to configure Python's initialization (
PySys_Set*& co) -
Py_UNICODE_WIDEandPy_UNICODEtype
Tracked separately:
-
vendored copy of(deferred to Python 3.16)libmpdecimal: #115119. -
PyUnicode_As{Encoded,Decoded}{Object,Unicode}: #133610 cc @StanFromIreland -
PySys_ResetWarnOptionshttps://github.com/python/cpython/issues/138886 cc @sobolevn
I'll take care of doing the other deprecation removals and update c-api-pending-removal-in-3-15.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
- gh-133654
- gh-133655
- gh-133657
- gh-133661
- gh-133665
- gh-133749
- gh-133751
- gh-133752
- gh-136277
- gh-138887
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この tracker と c-api-pending-removal-in-3-15 リストにある、まだチェックされていない C API の項目を確認してください。リンクされている pull request から、作業の大部分がすでに進行中であることが分かります。完了とは、残っている削除を完了し、pending-removal リストを更新することを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- c, python
- 領域
- api
- issue の種類
- リファクタリング
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 15/100