Skip to content

Fixed to_thread.run_sync() hanging on asyncio on StopIteration#477

Merged
agronholm merged 1 commit intomasterfrom
fix-475
Oct 17, 2022
Merged

Fixed to_thread.run_sync() hanging on asyncio on StopIteration#477
agronholm merged 1 commit intomasterfrom
fix-475

Conversation

@agronholm
Copy link
Copy Markdown
Owner

Fixes #475.

Copy link
Copy Markdown
Contributor

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thank you! 🚀

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.

StopIteration in a generator in a thread behaves differently in asyncio and Trio

2 participants