]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyLong_Sign() (#108743)
authorVictor Stinner <vstinner@python.org>
Fri, 1 Sep 2023 07:13:07 +0000 (09:13 +0200)
committerGitHub <noreply@github.com>
Fri, 1 Sep 2023 07:13:07 +0000 (09:13 +0200)
commit3edcf743e88b4ac4431d4b0f3a66048628cf5c70
treece31b780be3ef206e009315d2c0d7d5f70d4fe8d
parentc1e2f3b2f70b8a72ea7e1bf792addf62a94ae65d
gh-106320: Remove private _PyLong_Sign() (#108743)

Move the private _PyLong_Sign() and _PyLong_NumBits() functions
to the internal C API (pycore_long.h).

Modules/_testcapi/long.c now uses the internal C API.
Include/cpython/longobject.h
Include/internal/pycore_long.h
Modules/_io/_iomodule.c
Modules/_testcapi/long.c