Skip to content

Fix call_soon_threadsafe() racing with close() on free-threaded Python - #189

Merged
Vizonex merged 5 commits into
mainfrom
uvloop-789
Nov 10, 2026
Merged

Vizonex merged 5 commits into
mainfrom
uvloop-789

Conversation

@Vizonex

@Vizonex Vizonex commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

What do these changes do?

This fixes a bug coming from uvloop SEE: MagicStack/uvloop#789
I think this will fix the deadlocks we have been seeing with free-threaded mode.

Are there changes in behavior for the user?

Is it a substantial burden for the maintainers to support this?

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@Vizonex
Vizonex merged commit dd4def4 into main Nov 10, 2026
36 checks passed
@Vizonex
Vizonex deleted the uvloop-789 branch November 10, 2026 20:33
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.

1 participant