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

PyModule_AddObjectRef() should only be in the limited API since 3.10 #107226

Closed
serhiy-storchaka opened this issue Jul 25, 2023 · 0 comments
Closed
Labels
3.10 only security fixes 3.11 only security fixes 3.12 bugs and security fixes topic-C-API type-bug An unexpected behavior, bug, or error

Comments

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Jul 25, 2023

PyModule_AddObjectRef() was added in 3.10, but if use the limited API, it is available in all versions, independently from tha value of Py_LIMITED_API.

@vstinner

Linked PRs

@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error 3.11 only security fixes 3.10 only security fixes topic-C-API 3.12 bugs and security fixes labels Jul 25, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Jul 25, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Jul 25, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 25, 2023
…d API 3.10 (pythonGH-107227)

(cherry picked from commit 698b015)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 25, 2023
…d API 3.10 (pythonGH-107227)

(cherry picked from commit 698b015)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this issue Jul 25, 2023
…ed API 3.10 (GH-107227) (GH-107260)

(cherry picked from commit 698b015)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this issue Jul 25, 2023
…ed API 3.10 (GH-107227) (GH-107261)

(cherry picked from commit 698b015)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
jtcave pushed a commit to jtcave/cpython that referenced this issue Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 only security fixes 3.11 only security fixes 3.12 bugs and security fixes topic-C-API type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants
@serhiy-storchaka and others