{{ message }}
gh-107603: Argument Clinic can emit includes#108486
Merged
vstinner merged 3 commits intoAug 25, 2023
Merged
Conversation
Member
Author
|
cc @erlend-aasland @AlexWaygood I included _PyLong_UnsignedShort_Converter() removal in this PR to show how the feature can be used, but once reviewed, I can consider to extract this change into a separated PR. |
Sorry, something went wrong.
4e138c5 to
cdadfa1
Compare
August 25, 2023 20:50
AA-Turner
reviewed
Aug 25, 2023
* Add Clinic.add_include() method * Add CConverter.include and CConverter.add_include() * Printer.print_block() gets a second parameter: clinic. * Remove duplicated declaration of "clinic" global variable.
Always require clinic.
900a002 to
e07d07c
Compare
August 25, 2023 21:28
Member
Author
|
I rebased my PR on top of the merge AC change adding support for the limited C API. |
Sorry, something went wrong.
Member
Author
|
As a follow-up, I wrote PR #108499 which removes private _PyLong converters from the public C API: move them to the internal C API. The change adds |
Sorry, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
Remove _PyLong_UnsignedShort_Converter() from the public C API: move the function to the internal pycore_long.h header.