]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyDict C API (#107145)
authorVictor Stinner <vstinner@python.org>
Mon, 24 Jul 2023 14:02:03 +0000 (16:02 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jul 2023 14:02:03 +0000 (14:02 +0000)
commitfd66baf34a73871c651326a41886240bf6f986d7
treec59b1d1e1987f1c1b0c4e0a2831deebf0eab0870
parent0a9b339363a59be1249189c767ed6f46fd71e1c7
gh-106320: Remove private _PyDict C API (#107145)

Move private _PyDict functions to the internal C API (pycore_dict.h):

* _PyDict_Contains_KnownHash()
* _PyDict_DebugMallocStats()
* _PyDict_DelItemIf()
* _PyDict_GetItemWithError()
* _PyDict_HasOnlyStringKeys()
* _PyDict_MaybeUntrack()
* _PyDict_MergeEx()

No longer export these functions.
Include/cpython/dictobject.h
Include/internal/pycore_dict.h
Modules/_weakref.c
Modules/gcmodule.c
Objects/setobject.c
Python/_warnings.c
Python/bltinmodule.c
Python/getargs.c
Python/sysmodule.c