◐ Shell
clean mode source ↗

[3.13] gh-117657: Replace TSAN suppresions with more specific rules (GH-118722) by miss-islington · Pull Request #118870 · python/cpython

…ythonGH-118722)

Using `race:` filters out warnings if the function appears anywhere in
the stack trace. This can hide a lot of unrelated warnings, especially
for a function like `_PyEval_EvalFrameDefault`, which is somewhere on
the stack more often than not.

Change all free-threaded suppressions to `race_top:`, which only matches
the top frame, and add any new suppressions this exposes.
(cherry picked from commit 98ff3f6)

Co-authored-by: Brett Simmers <swtaarrs@users.noreply.github.com>

This was referenced

May 9, 2024