You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
26 C APIs scheduled for removal in 3.16 are still present #154757
Doc/deprecations/c-api-pending-removal-in-3.16.rst lists 26 C APIs due to be removed in 3.16. All 26 are still in Include/ on main, still marked Py_DEPRECATED:
changed the title [-]C API deprecations due in 3.16 are missing from the Deprecations page[/-][+]26 C APIs scheduled for removal in 3.16 are still present[/+]on Jul 27, 2026
Activity
[-]C API deprecations due in 3.16 are missing from the Deprecations page[/-][+]26 C APIs scheduled for removal in 3.16 are still present[/+]StanFromIreland commentedon Jul 27, 2026
We intentionally don’t list them as deprecations in the docs for the version they are being removed in.
picnixz commentedon Jul 27, 2026
There are reasons why we did not yet remove some Py_Sys one becsuse they are used elsewhere.
vstinner commentedon Sep 23, 2026
I created issue gh-158001 to "remove deprecated API to configure Python initialization".
pythongh-154757: Remove deprecated PyEval_InitThreads() function
pythongh-154757: Remove deprecated PyEval_InitThreads() function
gh-154757: Remove deprecated PyEval_InitThreads() function (#158037)
pythongh-154757: No longer deprecate PyModule_GetFilename()
gh-154757: No longer deprecate PyModule_GetFilename() (#158076)