]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111262: Add PyDict_Pop() function (#112028)
authorVictor Stinner <vstinner@python.org>
Tue, 14 Nov 2023 12:51:00 +0000 (13:51 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Nov 2023 12:51:00 +0000 (12:51 +0000)
commit4f04172c9287c507f1426e02ddfc432f1f3ade54
tree800ac400c3776336e1f52b49a0f10b4dae9af8c1
parentf44d6ff6e0c9eeb0bb246a3dd8f99d40b7050054
gh-111262: Add PyDict_Pop() function (#112028)

_PyDict_Pop_KnownHash(): remove the default value and the return type
becomes an int.

Co-authored-by: Stefan Behnel <stefan_ml@behnel.de>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
15 files changed:
Doc/c-api/dict.rst
Doc/whatsnew/3.13.rst
Include/cpython/dictobject.h
Include/internal/pycore_dict.h
Lib/test/test_capi/test_dict.py
Misc/NEWS.d/next/C API/2023-11-10-10-21-38.gh-issue-111262.2utB5m.rst [new file with mode: 0644]
Modules/_functoolsmodule.c
Modules/_testcapi/dict.c
Modules/_threadmodule.c
Modules/socketmodule.c
Objects/dictobject.c
Objects/odictobject.c
Objects/structseq.c
Python/import.c
Python/sysmodule.c