SIGN IN SIGN UP

[3.13] gh-123091: Use more _Py_IsImmortalLoose() (GH-123602) (GH-123622)

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.

(cherry picked from commit 57c471a6880956338549380fc5fb35c986937901)
P
Petr Viktorin committed
d655c655619d8a6b7eec908a7b7c770d5f2ac0f8
Parent: 7761ddc
Committed by GitHub <noreply@github.com> on 9/3/2024, 10:36:42 AM