-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Add PyLong_IsPositive/Zero/Negative() functions #126061
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
Labels
Comments
If possible, could you give it to me? |
In principle, I've patch ready. But please do! Only set pr as draft until C-API WG issue is open. |
Oh thank you, Sergey! |
vstinner
pushed a commit
that referenced
this issue
Nov 12, 2024
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
vstinner
pushed a commit
that referenced
this issue
Nov 14, 2024
picnixz
added a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
…hon#126065) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
picnixz
pushed a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…hon#126065) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
Sign up for free
<
475E
strong>to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
as alternative API to PyLong_GetSign().
It seems, C-API WG is positive on this, see capi-workgroup/decisions#29. This issue will track implementation.
Linked PRs
refcounts.dat
#126788The text was updated successfully, but these errors were encountered: