-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use the new large PyLong conversion functions in Py3.13. #5997
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine apart from being untested.
I kind of wonder if any of this "large integer" type code is reliable covered by the test-suite at all.
This should exercise it: |
|
2119046
to
f203050
Compare
f203050
to
1ef92d8
Compare
…nce leaks along the way.
I found several ref-leak issues in the shift+mask fallback conversion implementation while working on this that should also be fixed in 3.0.x. It's probably easier to backport the PR than to try to extract them separately. |
See python/cpython#111140 Also clean up and simplify the fallback implementation, fixing some reference leaks along the way.
Untested since it's not released yet.
See python/cpython#111140