]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134043: use stackrefs in vectorcalling methods (#134044)
authorKumar Aditya <kumaraditya@python.org>
Tue, 27 May 2025 16:58:27 +0000 (22:28 +0530)
committerGitHub <noreply@github.com>
Tue, 27 May 2025 16:58:27 +0000 (22:28 +0530)
commita380d578737be1cd51e1d1be2b83bbc0b0619e7e
tree279953589ff226a4b8f461403cacde1aef98763f
parent3f9eb55e090a8de80503e565f508f341c5f4c8da
gh-134043: use stackrefs in vectorcalling methods (#134044)

Adds `_PyObject_GetMethodStackRef` which uses stackrefs and takes advantage of deferred reference counting in free-threading while calling method objects in vectorcall.
Include/internal/pycore_object.h
Objects/call.c
Objects/object.c
Tools/ftscalingbench/ftscalingbench.py