mirror of
https://github.com/python/cpython.git
synced 2026-05-18 18:33:57 -04:00
47fb4327b5
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.
Source files for various builtin objects