◐ Shell
clean mode source ↗

gh-112066: Use `PyDict_SetDefaultRef` in place of `PyDict_SetDefault`. by colesbury · Pull Request #112211 · python/cpython

serhiy-storchaka

…fault`.

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

@colesbury

erlend-aasland

serhiy-storchaka

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>

@colesbury colesbury deleted the PyDict_SetDefaultRef-usage branch

February 7, 2024 18:43

fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request

Feb 14, 2024
…fault`. (python#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>