]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124218: Use per-thread reference counting for globals and builtins (#125713)
authorSam Gross <colesbury@gmail.com>
Mon, 21 Oct 2024 16:51:29 +0000 (12:51 -0400)
committerGitHub <noreply@github.com>
Mon, 21 Oct 2024 16:51:29 +0000 (12:51 -0400)
commit9b0bfba2a265b8108610b037945c004d8e81f2b4
tree3fe9053a4a9e298aff740c60ca4581461b9fd4a8
parentd880c83ff7fb2e464bc4f469d74cc3fc3eca082c
gh-124218: Use per-thread reference counting for globals and builtins (#125713)

Use per-thread refcounting for the reference from function objects to
the globals and builtins dictionaries.
Include/cpython/dictobject.h
Include/internal/pycore_dict.h
Include/internal/pycore_object.h
Include/internal/pycore_uniqueid.h
Objects/dictobject.c
Objects/funcobject.c
Objects/moduleobject.c
Python/uniqueid.c