]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-136178)
authorVictor Stinner <vstinner@python.org>
Wed, 2 Jul 2025 13:40:41 +0000 (15:40 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Jul 2025 13:40:41 +0000 (15:40 +0200)
commitfa43a1e0f8caf00a15898fa719e31767c866bd90
tree464bfb05fa2b22f6da9c83c479ba15d00d077b3d
parentab7196a2f535f181abd50ccbf1b3b224bbd5eee0
gh-127705: Move Py_INCREF_MORTAL() to the internal C API (GH-136178)

Rename Py_INCREF_MORTAL() to _Py_INCREF_MORTAL() and move it to
pycore_object.h internal header.
Include/internal/pycore_object.h
Include/internal/pycore_stackref.h
Include/refcount.h