Skip to content

Comments

gh-106320: Remove private _PyLong_FileDescriptor_Converter()#108503

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:remove_long_converter2
Aug 26, 2023
Merged

gh-106320: Remove private _PyLong_FileDescriptor_Converter()#108503
vstinner merged 1 commit intopython:mainfrom
vstinner:remove_long_converter2

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.
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