-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
[3.12] extern "C"
not closed in tracemalloc.h when using Py_LIMITED_API
#127902
Comments
mitya57
added a commit
to mitya57/cpython
that referenced
this issue
Dec 13, 2024
…y_LIMITED_API Fixes python#127902.
Oops, thanks for catching this regression!
The limited C API is not well tested in Python 3.12. |
Fixed by change b184f48. |
I created #127906 to add more tests to 3.12. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
When building PyQt6 with the latest 3.12 branch, I get the following error:
This happened because of the commit 65bca19, which changed the structure of
tracemalloc.h
to the following:Here, if
Py_LIMITED_API
is defined, theextern "C"
block is opened but never closed.This problem does not affect 3.13 and newer versions, because the order is different there. I am going to submit a trivial pull request to fix this.
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Linked PRs
extern "C"
is closed when using Py_LIMITED_API #127904The text was updated successfully, but these errors were encountered: