]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-123091: Use more _Py_IsImmortalLoose() (GH-123602)
authorPetr Viktorin <encukou@gmail.com>
Mon, 2 Sep 2024 16:17:48 +0000 (18:17 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Sep 2024 16:17:48 +0000 (18:17 +0200)
commit57c471a6880956338549380fc5fb35c986937901
tree57833b1f0b12f5408dc75b67afe3d3384d677e45
parent5002f17794a9f403540305c733698d1e01699490
gh-123091: Use more _Py_IsImmortalLoose() (GH-123602)

Switch more _Py_IsImmortal(...) assertions to _Py_IsImmortalLoose(...)

The remaining calls to _Py_IsImmortal are in free-threaded-only code,
initialization of core objects, tests, and guards that fall back to
code that works with mortal objects.
Include/internal/pycore_object.h
Modules/_asynciomodule.c
Objects/structseq.c
Python/import.c