]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103323: Remove PyRuntimeState_GetThreadState() (#104171)
authorVictor Stinner <vstinner@python.org>
Thu, 4 May 2023 14:21:01 +0000 (16:21 +0200)
committerGitHub <noreply@github.com>
Thu, 4 May 2023 14:21:01 +0000 (16:21 +0200)
commit45398ad51220b63b8df08fb5551c6b736205daed
tree42d5b05c0706b871067d7390768493878d07eda9
parenteba64d2afb4c429e80d863dc0dd7808bdbef30d3
gh-103323: Remove PyRuntimeState_GetThreadState() (#104171)

This function no longer makes sense, since its runtime parameter is
no longer used. Use directly _PyThreadState_GET() and
_PyInterpreterState_GET() instead.
Include/internal/pycore_pystate.h
Python/ceval_gil.c
Python/pylifecycle.c
Python/pystate.c
Python/sysmodule.c