Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-144490: Fix C++ compatibility in pycore_cell.h#144482
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
picnixz commentedFeb 4, 2026
Do we do this kind of stuff for every calls? do we support |
colesbury commentedFeb 4, 2026
The internal headers ( The change itself seems fine, but I'm curious how this came up. What's including |
colesbury commentedFeb 4, 2026
To answer@picnixz, we generally do this sort of thing when people ask, especially when the changes are tiny, but we don't proactively make the internal header files C++ compatible. |
yoney commentedFeb 4, 2026
This came up while I’m adaptingCinderX to FT-Python: C++ codegen path for Also agreed that |
colesbury commentedFeb 4, 2026
Ok, make sense. Can you open an issue like@picnixz asked? Also edit the PR title to associate it with the issue. |
yoney commentedFeb 4, 2026
Created the issue#144490 @picnixz,@colesbury: Thank you so much for the review. |
Uh oh!
There was an error while loading.Please reload this page.
The header already includes an
extern "C"guard, suggesting it is intended to be C++ compatible. Adding a cast allows it to compile without-fpermissive.cc:@colesbury