Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
gh-115754: Export Py_None, Py_False, Py_True as symbols#115755
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
vstinner commentedFeb 21, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Two more constants to consider:
Update: I completed my PR to also cover these two constants. |
In the limited C API and the stable ABI, implement Py_None, Py_False,Py_True, Py_Ellipsis and Py_NotImplemented constants are symbols.
Counter-proposition:#116572 implement these constants as function calls in the limited C API. |
The C API Working Group chose to go with a function call instead:capi-workgroup/decisions#16 |
Uh oh!
There was an error while loading.Please reload this page.
In the limited C API and the stable ABI, implement Py_None, Py_False and Py_True constants are symbols.