aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-01-16 13:53:18 +0100
committerGitHub <noreply@github.com>2025-01-16 13:53:18 +0100
commit3193cb5ef87b77158d5c9bef99ae445cb82727de (patch)
tree5306830904e63c48027167378240538f8dafdc18 /Python/fileutils.c
parent313b96eb8b8d0ad3bac58d633822a0a3705ce60b (diff)
downloadcpython-3193cb5ef87b77158d5c9bef99ae445cb82727de.tar.gz
cpython-3193cb5ef87b77158d5c9bef99ae445cb82727de.zip
gh-128679: Fix tracemalloc.stop() race conditions (#128893)
tracemalloc_alloc(), tracemalloc_realloc(), tracemalloc_free(), _PyTraceMalloc_TraceRef() and _PyTraceMalloc_GetMemory() now check 'tracemalloc_config.tracing' after calling TABLES_LOCK(). _PyTraceMalloc_TraceRef() now always returns 0.
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions