add PyLong* API (3.14+) - #6016
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
ngoldbaum
left a comment
There was a problem hiding this comment.
Did a quick pass and spotted a couple issues.
|
I looked over the FFI changes. While we're touching It also looks like the The principle you should keep in mind when touching PyO3's FFI bindings is that it should be organized exactly like the upstream headers, as of the newest Python we support (3.14 right now, but it'll be 3.15 in the next few weeks). |
In branch 3.14, |
Yes, that's generally what we do. It's hard to keep the FFI bindings perfectly up-to-date, so it's a chore for whoever needs to touch them. |
|
I split up some of the |
ngoldbaum
left a comment
There was a problem hiding this comment.
I spotted some issues, see below.
|
@davidhewitt can we simply add a new |
Not @davidhewitt but it sounds like a great idea to me |
|
Sorry for the delay. I've pushed a commit which just keeps the existing inconsistency for now where 3.13+ uses I think let's not delay this further and proceed to ship it as part of 0.29. |
Head branch was pushed to by a user without write access
|
There seem to be test failures on a debug Python build: |
|
I think it might just be an abi3 issue related to #6116, skipped the test on it for now and will re-attempt merge. |
|
thanks |
/close #6015
(Edit by @davidhewitt) - See codspeed comment for benchmark improvements.