]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyLong_New() function (#108604)
authorVictor Stinner <vstinner@python.org>
Tue, 29 Aug 2023 02:59:49 +0000 (04:59 +0200)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2023 02:59:49 +0000 (04:59 +0200)
commit921eb8ebf6ae9bd359bc03c24bf1f7537bb498ab
tree99ef7b99c27e0cd38348052c3549beba8c1e4115
parent21a7420190778fb6e9237bf12e029a26cd18d82d
gh-106320: Remove private _PyLong_New() function (#108604)

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

* _PyLong_Copy()
* _PyLong_FromDigits()
* _PyLong_New()

No longer export most of these functions.
Include/cpython/longintrepr.h
Include/internal/pycore_long.h