]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove _PyInterpreterState_Get() alias (#106321)
authorVictor Stinner <vstinner@python.org>
Sat, 1 Jul 2023 23:44:07 +0000 (01:44 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Jul 2023 23:44:07 +0000 (23:44 +0000)
commit18b1fdebe0cd5e601aa341227c13ec9d89bdf32c
tree701bc6f8ffcafff8eddc462192276a4d483f1a7b
parent0530f4f64629ff97f3feb7524da0833b9535e8b6
gh-106320: Remove _PyInterpreterState_Get() alias (#106321)

Replace calls to the (removed) slow _PyInterpreterState_Get() with
fast inlined _PyInterpreterState_GET() function.
Doc/whatsnew/3.13.rst
Include/cpython/pystate.h
Include/internal/pycore_pystate.h
Misc/NEWS.d/next/C API/2023-07-02-00-00-20.gh-issue-106320.tZWcvG.rst [new file with mode: 0644]
Modules/_threadmodule.c
Objects/typeobject.c
Objects/unicodeobject.c
Python/ceval_gil.c
Python/hamt.c
Python/import.c
Python/instrumentation.c