]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108308: Remove _PyDict_GetItemStringWithError() function (#108426)
authorVictor Stinner <vstinner@python.org>
Thu, 24 Aug 2023 15:34:22 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2023 15:34:22 +0000 (17:34 +0200)
commit52c6a6e48a5fa12af401810722cfcad859e9881a
tree610a56978210c223db5ba6d5bfbe0b68ccdd4509
parentea871c9b0f08399e440baed95a3e5793d6e0ea66
gh-108308: Remove _PyDict_GetItemStringWithError() function (#108426)

Remove the internal _PyDict_GetItemStringWithError() function. It can
now be replaced with the new public PyDict_ContainsString() and
PyDict_GetItemStringRef() functions.

getargs.c now now uses a strong reference for current_arg.
find_keyword() returns a strong reference.
Include/internal/pycore_dict.h
Objects/dictobject.c
Python/getargs.c
Python/pythonrun.c
Python/sysmodule.c