]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117657: Fix TSAN data race in _PyEval_SetTrace assertion (gh-131561)
authorSam Gross <colesbury@gmail.com>
Fri, 21 Mar 2025 18:22:37 +0000 (14:22 -0400)
committerGitHub <noreply@github.com>
Fri, 21 Mar 2025 18:22:37 +0000 (14:22 -0400)
commit0de5e0c5442abddbe17481ef450e4abc992058f5
tree0dd2172a35448f404777eadde798b12a90980556
parent3e2cceaa871a742a66711519d8e6998b186ae263
gh-117657: Fix TSAN data race in _PyEval_SetTrace assertion (gh-131561)

The `sys_tracing_threads` variable should be read inside `LOCK_SETUP()`.
Python/legacy_tracing.c