]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-104252: Immortalize Py_EMPTY_KEYS (gh-104253)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 10 May 2023 13:28:40 +0000 (07:28 -0600)
committerGitHub <noreply@github.com>
Wed, 10 May 2023 13:28:40 +0000 (07:28 -0600)
commitb8f7ab5783b370004757af5a4c6e70c63dc5fe7a
treecea44d351f26241a2ed0c3c847c298a865119c96
parent2dcb289ed08980c8f97d538060b4ad8d5e82b56a
gh-104252: Immortalize Py_EMPTY_KEYS (gh-104253)

This was missed in gh-19474.  It matters for with a per-interpreter GIL since PyDictKeysObject.dk_refcnt breaks isolation and leads to races.
Include/internal/pycore_dict_state.h
Include/internal/pycore_runtime_init.h
Objects/dictobject.c