SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 2 Python

gh-117657: Fix race involving immortalizing objects (#119927)

The free-threaded build currently immortalizes objects that use deferred
reference counting (see gh-117783). This typically happens once the
first non-main thread is created, but the behavior can be suppressed for
tests, in subinterpreters, or during a compile() call.

This fixes a race condition involving the tracking of whether the
behavior is suppressed.
S
Sam Gross committed
47fb4327b5c405da6df066dcaa01b7c1aefab313
Parent: b8fde5d
Committed by GitHub <noreply@github.com> on 6/3/2024, 8:58:41 PM