Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 9, 2024

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

…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants