Open
Description
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_GetObject
andPyWeakref_GET_OBJECT
: #133657 - Functions to configure Python's initialization (
PySys_Set*
& co) -
Py_UNICODE_WIDE
andPy_UNICODE
type
Tracked separately:
- vendored copy of
libmpdecimal
: #115119. -
PyUnicode_As{Encoded,Decoded}{Object,Unicode}
: #133610 cc @StanFromIreland
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-133644: remove deprecated global configuration variables #133654
- gh-133644: remove deprecated
PyImport_ImportModuleNoBlock
#133655 - gh-133644: remove
PyWeakref_GetObject
andPyWeakref_GET_OBJECT
#133657 - gh-133644: remove deprecated Python initialization getter functions #133661
- gh-133644: Avoid deprecated Py_SetProgramName() in _testembed.c #133665
- gh-133644: update
Py_InteractiveFlag
deprecation notice #133749 - [3.14] gh-133644: update
Py_InteractiveFlag
deprecation notice (GH-133749) #133751 - [3.13] gh-133644: update
Py_InteractiveFlag
deprecation notice (GH-133749) #133752
Metadata
Metadata
Assignees
Labels
new features, bugs and security fixesnew features, bugs and security fixes(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)