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

gh-106320: Remove private _PyLong_FileDescriptor_Converter() #108503

Merged
merged 1 commit into from
Aug 26, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 26, 2023

Move the private _PyLong converter functions to the internal C API

  • _PyLong_FileDescriptor_Converter(): moved to pycore_fileutils.h
  • _PyLong_Size_t_Converter(): moved to pycore_long.h

Argument Clinic now emits includes for pycore_fileutils.h and pycore_long.h when these functions are used.

Move the private _PyLong converter functions to the internal C API

* _PyLong_FileDescriptor_Converter(): moved to pycore_fileutils.h
* _PyLong_Size_t_Converter(): moved to pycore_long.h

Argument Clinic now emits includes for pycore_fileutils.h and
pycore_long.h when these functions are used.
@vstinner vstinner merged commit 6353c21 into python:main Aug 26, 2023
24 checks passed
@vstinner vstinner deleted the remove_long_converter2 branch August 26, 2023 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants