diff options
author | Sam Gross <colesbury@gmail.com> | 2024-06-03 22:21:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 22:21:32 (GMT) |
commit | ae705319fcde864b504987dc8e579e3eef68e1e5 (patch) | |
tree | 022166446a352d99b784b44a86f163bec179e94d /Python/tracemalloc.c | |
parent | ca37034baa2909722df58c02dfd13e1d667252ce (diff) | |
download | cpython-ae705319fcde864b504987dc8e579e3eef68e1e5.zip cpython-ae705319fcde864b504987dc8e579e3eef68e1e5.tar.gz cpython-ae705319fcde864b504987dc8e579e3eef68e1e5.tar.bz2 |
[3.13] gh-117657: Fix race involving immortalizing objects (GH-119927) (#120005)
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 47fb4327b5c405da6df066dcaa01b7c1aefab313)
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions