]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106084: Remove _PyObject_HasLen() function (#106103)
authorVictor Stinner <vstinner@python.org>
Mon, 26 Jun 2023 13:02:43 +0000 (15:02 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 13:02:43 +0000 (13:02 +0000)
commit6200aaf2967de420a2d83236008787c9f791561d
treed11be64f41c498889e8015eda64360b831e1c335
parentc075a1974b0dce9801cb645c77faa8af612b3db5
gh-106084: Remove _PyObject_HasLen() function (#106103)

Remove _PyObject_HasLen() and _PySequence_IterSearch() functions from
the public C API: move them to the internal C API
(pycore_abstract.h).

No longer export these symbols (in libpython).

Remove also unused pycore_initconfig.h include in typeobject.c.
Include/cpython/abstract.h
Include/internal/pycore_abstract.h
Objects/iterobject.c
Objects/typeobject.c