Skip to content

Conversation

@davidhewitt
Copy link
Member

This seems to fix #5530, I can't reproduce the crash after it.

It looks like the warnings filter was deduplicating the warnings? Why this only affected the free-threaded build, and inconsistently, I'm not sure.

Will send this to merge to unblock ci.

cc @ngoldbaum

@davidhewitt davidhewitt enabled auto-merge October 17, 2025 15:31
@ngoldbaum
Copy link
Contributor

This sounds like a CPython thread safety bug. I wonder how painful it would be to write a C extension that creates identical warnings from two threads simultaneously so we can report it upstream without using a Rust example. Ping @nascheme.

@davidhewitt davidhewitt added this pull request to the merge queue Oct 17, 2025
Merged via the queue into PyO3:main with commit 02b54eb Oct 17, 2025
43 checks passed
@davidhewitt davidhewitt deleted the dedup-warnings branch October 17, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3.14.0t catch_warnings test failed

2 participants