]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyObject C API (#107159)
authorVictor Stinner <vstinner@python.org>
Sun, 23 Jul 2023 22:25:48 +0000 (00:25 +0200)
committerGitHub <noreply@github.com>
Sun, 23 Jul 2023 22:25:48 +0000 (22:25 +0000)
commit1e501122876f7e6abf979fdb756d7edd0d924ba1
tree89700953efa188e82f9ef89bcc22bb1f8efed7c2
parent8de8a817ee81e352603380ddd1ae91accc99d4a9
gh-106320: Remove private _PyObject C API (#107159)

Move private _PyObject and private _PyType functions to the internal
C API (pycore_object.h):

* _PyObject_GetMethod()
* _PyObject_IsAbstract()
* _PyObject_NextNotImplemented()
* _PyType_CalculateMetaclass()
* _PyType_GetDocFromInternalDoc()
* _PyType_GetTextSignatureFromInternalDoc()

No longer export these functions.
Include/cpython/object.h
Include/internal/pycore_object.h