[3.13] gh-117657: Fix TSAN data race in _PyEval_SetTrace assertion (gh-131561) (#131564)
The `sys_tracing_threads` variable should be read inside `LOCK_SETUP()`. (cherry picked from commit 0de5e0c5442abddbe17481ef450e4abc992058f5) Co-authored-by: Sam Gross <colesbury@gmail.com>
M
Miss Islington (bot) committed
94fbe97bbef374e240decc8a69107a639151ba02
Parent: 55fb3a7
Committed by GitHub <noreply@github.com>
on 3/21/2025, 6:48:40 PM