Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 743: Add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros #116587

Closed
vstinner opened this issue Mar 11, 2024 · 1 comment
Closed
Labels
topic-C-API type-feature A feature request or enhancement

Comments

@vstinner
Copy link
Member

vstinner commented Mar 11, 2024

Feature or enhancement

I propose to add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros to give C extension maintainers the ability to test future scheduled C API changes in advance, rather than having to wait for a the next Python version.

I plan to write a PEP for this change. This issue is to track the PEP implementation.

Linked PRs

@vstinner vstinner added type-feature A feature request or enhancement topic-C-API labels Mar 11, 2024
vstinner added a commit to vstinner/cpython that referenced this issue Mar 11, 2024
Add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros
@vstinner vstinner changed the title WIP: Add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros PEP 743: Add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros Mar 11, 2024
vstinner added a commit to vstinner/cpython that referenced this issue Mar 11, 2024
Add Py_COMPAT_API_VERSION and Py_COMPAT_API_VERSION_MAX macros
@vstinner
Copy link
Member Author

vstinner commented Sep 6, 2024

I close the issue for now, until PEP 743 is accepted.

@vstinner vstinner closed this as completed Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-C-API type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant