]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyLong converter functions (#108499)
authorVictor Stinner <vstinner@python.org>
Sat, 26 Aug 2023 00:24:27 +0000 (02:24 +0200)
committerGitHub <noreply@github.com>
Sat, 26 Aug 2023 00:24:27 +0000 (02:24 +0200)
commit713afb8804666405f29115cf459b591308e3ab54
treedb6bdfbbf19f1b222c4d6a6e027efd6a4202e96c
parent86bc9e35c4aaf3bcc045ddd998844ffb64fec3a2
gh-106320: Remove private _PyLong converter functions (#108499)

Move these private functions to the internal C API (pycore_long.h):

* _PyLong_UnsignedInt_Converter()
* _PyLong_UnsignedLongLong_Converter()
* _PyLong_UnsignedLong_Converter()
* _PyLong_UnsignedShort_Converter()

Argument Clinic now emits #include "pycore_long.h" when these
functions are used.
14 files changed:
Include/cpython/longobject.h
Include/internal/pycore_long.h
Modules/_blake2/clinic/blake2b_impl.c.h
Modules/_blake2/clinic/blake2s_impl.c.h
Modules/clinic/_testclinic.c.h
Modules/clinic/_testclinic_depr.c.h
Modules/clinic/overlapped.c.h
Modules/clinic/posixmodule.c.h
Modules/clinic/selectmodule.c.h
Modules/clinic/sha3module.c.h
Modules/overlapped.c
PC/clinic/winreg.c.h
Tools/c-analyzer/c_parser/preprocessor/gcc.py
Tools/clinic/clinic.py