]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142472: Clean-up _PyStackRef functions (gh-142479)
authorSam Gross <colesbury@gmail.com>
Mon, 15 Dec 2025 17:03:49 +0000 (12:03 -0500)
committerGitHub <noreply@github.com>
Mon, 15 Dec 2025 17:03:49 +0000 (12:03 -0500)
commita882ae198ade5008d42b8474a37409bf1502cf74
tree9db16ec2c008cf7a04e966b85ebb7cd7b93caa50
parentabaaeee6a0abe96ed4c4cfb22018e8b871a67102
gh-142472: Clean-up _PyStackRef functions (gh-142479)

This combines most _PyStackRef functions and macros between the free
threaded and default builds.

- Remove Py_TAG_DEFERRED (same as Py_TAG_REFCNT)
- Remove PyStackRef_IsDeferred (same as !PyStackRef_RefcountOnObject)
Include/internal/pycore_object.h
Include/internal/pycore_stackref.h
InternalDocs/stackrefs.md
Objects/dictobject.c
Python/gc_free_threading.c