-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
voteThe WG is voting (or has voted)The WG is voting (or has voted)
Description
PEP 743 – Add Py_OMIT_LEGACY_API to the Python C API: https://peps.python.org/pep-0743/
Abstract
Add Py_OMIT_LEGACY_API C macro that hides deprecated and soft-deprecated symbols, allowing users to opt out of using API with known issues that other API solves.
Also, add namespaced alternatives for API without the Py_ prefix, and soft-deprecate the original names.
Vote
- @erlend-aasland
- @mdboom (abstain)
- @serhiy-storchaka
- @zooba
@encukou and me abstain from voting since we wrote the PEP :-)
If the vote is positive, the PEP will be submitted to the Steering Council (see the SC discussion).
Update: the macro Py_COMPAT_API_VERSION name was changed to Py_OMIT_LEGACY_API.
Metadata
Metadata
Assignees
Labels
voteThe WG is voting (or has voted)The WG is voting (or has voted)