26 C APIs scheduled for removal in 3.16 are still present
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Proposal:
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:
-
PySys_SetArgv,PySys_SetArgvEx,Py_SetProgramName,Py_SetPythonHome - the 21
Py_*global configuration variables (GH-133654 open, draft) -
Py_UNICODE
Py_SetProgramName and PySys_SetArgv were removed once in 3.13 and restored in gh-117987 after it broke packages, so this is not a mechanical removal.
The file is also not included from Doc/deprecations/index.rst, so these deprecations are currently not listed on the Deprecations page.
Has this already been discussed elsewhere?
No response given
Linked PRs
- gh-154758
- gh-154759
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review Doc/deprecations/c-api-pending-removal-in-3.16.rst, Doc/deprecations/index.rst, and the affected declarations in Include/. Check linked PRs gh-154758 and gh-154759, plus GH-133654 for the global configuration variables. Done means the removal status is resolved for all listed APIs and the deprecations page includes the relevant file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- api, documentation
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100