]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106084: Remove _PyObject_RealIsInstance() function (#106106)
authorVictor Stinner <vstinner@python.org>
Mon, 26 Jun 2023 13:38:41 +0000 (15:38 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 13:38:41 +0000 (13:38 +0000)
commite8e59ee474869e7c02e7cae3815c9c2183671b21
treeeea724df61695783e1e08876449292815dfc30b3
parent6200aaf2967de420a2d83236008787c9f791561d
gh-106084: Remove _PyObject_RealIsInstance() function (#106106)

Remove the following functions from the public C API:

* _PyObject_RealIsInstance()
* _PyObject_RealIsSubclass()
* _Py_add_one_to_index_F()
* _Py_add_one_to_index_C()

Move _PyObject_RealIsInstance() and _PyObject_RealIsSubclass() to the
internal C API (pycore_abstract.h) and no longer export their symbols
(in libpython).

Make _Py_add_one_to_index_F() and _Py_add_one_to_index_C() functions
static: no longer export them.
Include/cpython/abstract.h
Include/internal/pycore_abstract.h
Objects/abstract.c
Objects/descrobject.c
Objects/exceptions.c