]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Simplify interp_look_up_id() (#134257)
authorVictor Stinner <vstinner@python.org>
Mon, 19 May 2025 18:09:10 +0000 (14:09 -0400)
committerGitHub <noreply@github.com>
Mon, 19 May 2025 18:09:10 +0000 (18:09 +0000)
commite79f640eb698df7659c0ce81474d93bf222094c5
treef6f24bc551d4fd18b4cc22f53f99252206eef504
parent71c42b778dfc0831734bb7bc6121ffd44beae1d3
Simplify interp_look_up_id() (#134257)

Don't use PyInterpreterState_GetID() but get directly the interpreter
'id' member which cannot fail.
Python/pystate.c