]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112066: Use `PyDict_SetDefaultRef` in place of `PyDict_SetDefault`. (#112211)
authorSam Gross <colesbury@gmail.com>
Wed, 7 Feb 2024 18:43:18 +0000 (13:43 -0500)
committerGitHub <noreply@github.com>
Wed, 7 Feb 2024 18:43:18 +0000 (13:43 -0500)
commitef3ceab09d2d0959c343c662461123d5b0e0b64b
tree7c7be8598454fca38217703987b9f60e66e4a952
parentfedbf77191ea9d6515b39f958cc9e588d23517c9
gh-112066: Use `PyDict_SetDefaultRef` in place of `PyDict_SetDefault`. (#112211)

This changes a number of internal usages of `PyDict_SetDefault` to use `PyDict_SetDefaultRef`.

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Modules/_json.c
Modules/posixmodule.c
Modules/pyexpat.c
Objects/typeobject.c
Objects/unicodeobject.c
Python/compile.c