Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-126061: add PyLong_IsPositive/Negative/Zero/GetSign functions torefcounts.dat#126788
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
I think it's enough. |
Then I will open this PR to hear more opinions :) |
refcounts.datrefcounts.datUh oh!
There was an error while loading.Please reload this page.
refcounts.datrefcounts.dat1e3497e intopython:mainUh oh!
There was an error while loading.Please reload this page.
Merged, thanks@rruuaanng. |
A little help. For CPython :) |
Uh oh!
There was an error while loading.Please reload this page.
📚 Documentation preview 📚:https://cpython-previews--126788.org.readthedocs.build/
This PR completes the proposal in#126065, but it only adds GetSign/IsZero/IsPositive/IsNegative
Although it is a draft PR, it is open for review. For other recently added C-API, I need to spend a little time looking for them, if there are no such requirements, it can be merged directly.