Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
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
:#133655PyWeakref_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(deferred to Python 3.16)libmpdecimal
:#115119.PyUnicode_As{Encoded,Decoded}{Object,Unicode}
:#133610 cc@StanFromIreland
I'll take care of doing the other deprecation removals and updatec-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 - gh-133644: Remove
PySys_SetArgv*
for 3.15 #136277