mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -04:00
ae705319fc
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.
(cherry picked from commit 47fb4327b5)
Miscellaneous source files for the main Python shared library