Skip to content

[3.11] gh-98680: Add PyBUF_* constants to the Limited API listing (GH-100018) #100020

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

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 5, 2022

PyBUF_* constants are marked as part of Limited API of Python 3.11+.
These were available in 3.11.0 with Py_LIMITED_API defined for 3.11,
and are necessary to use the buffer API. Omitting them in stable_abi.toml
was a mistake.
(cherry picked from commit f247387)

Co-authored-by: Petr Viktorin [email protected]

…honGH-100018)

``PyBUF_*`` constants are marked as part of Limited API of Python 3.11+.
These were available in 3.11.0 with `Py_LIMITED_API` defined for 3.11,
and are necessary to use the buffer API. Omitting them in `stable_abi.toml`
was a mistake.
(cherry picked from commit f247387)

Co-authored-by: Petr Viktorin <[email protected]>
@miss-islington miss-islington merged commit c206cc9 into python:3.11 Dec 5, 2022
@miss-islington miss-islington deleted the backport-f247387-3.11 branch December 5, 2022 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants