-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-104469: Disallow using Py_LIMITED_API with Py_BUILD_CORE #109690
Conversation
vstinner
commented
Sep 21, 2023
•
edited by bedevere-app
bot
Loading
edited by bedevere-app
bot
- Issue: Improve the readability and maintainability of test_capi using the AC #104469
When I reviewed #107857 I noticed that Py_LIMITED_API was used with Py_BUILD_CORE which makes no sense to me. Make a choice: either the limited C API, or the internal C API :-) |
In the meanwhile, AC got support for the limited C API ;-) |
Fix make check-c-globals: complete USE_LIMITED_C_API list of the c-analyzer.
4740d1b
to
3dcbb46
Compare
Merged. Thanks for the review @colesbury. |
|
Thanks! LGTM |
Oh. This change broke WASM buildbots. Example with wasm32-emscripten node (dynamic linking) 3.x: https://buildbot.python.org/all/#/builders/1056/builds/3142
I'm not sure how I don't think that it's correct that On my Linux machine, Makefile contains:
So it gets two groups of compiler flags:
I don't see |
I created issue #109723 to track this issue. |
…thon#109690) Fix make check-c-globals: complete USE_LIMITED_C_API list of the c-analyzer.
…thon#109690) Fix make check-c-globals: complete USE_LIMITED_C_API list of the c-analyzer.