Skip to content
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 "fastcall" convention on abi3, if >3.10 #4415

Merged
merged 4 commits into from
Aug 16, 2024

Conversation

davidhewitt
Copy link
Member

The METH_FASTCALL calling convention is part of abi3 since 3.10, so this PR is updating our function calling conventions accordingly.

At the same time I've pulled in the FFI definition PyCFunctionFast and PyCFunctionFastWithKeywords, which have had their _Py prefix adjusted to just Py in 3.13

@davidhewitt
Copy link
Member Author

Assuming this now passes CI, will probably merge as a straightforward improvement.

@davidhewitt davidhewitt enabled auto-merge August 16, 2024 14:25
@davidhewitt davidhewitt added this pull request to the merge queue Aug 16, 2024
Merged via the queue into PyO3:main with commit 52dc139 Aug 16, 2024
41 of 42 checks passed
@davidhewitt davidhewitt deleted the fastcall-abi3-310 branch August 16, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant