26 C APIs scheduled for removal in 3.16 are still present
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 35.9k
- PR-Merge-Kennzahlen
- PR-Kennzahlen ausstehend
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Prüfe Doc/deprecations/c-api-pending-removal-in-3.16.rst, Doc/deprecations/index.rst und die betroffenen Deklarationen in Include/. Sieh dir die verknüpften PRs gh-154758 und gh-154759 sowie GH-133654 für die globalen Konfigurationsvariablen an. Die Aufgabe ist abgeschlossen, wenn der Entfernungsstatus für alle aufgeführten APIs geklärt ist und die Seite zu den Deprecations die relevante Datei enthält.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- c
- Bereich
- api, documentation
- Issue-Typ
- Refactoring
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100