Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use conditional imports of trio and anyio. #692

Merged
merged 2 commits into from
May 18, 2023

Conversation

tomchristie
Copy link
Member

Instead of using lazy imports of trio and anyio, let's instead use conditional imports.

The problem with the lazy imports is that they were occuring within async functions. Which seems like a terrible idea.

My assumption is that this pull request would resolve #663. (Seems like this would be a feasible root cause.)

@tomchristie tomchristie added the bug Something isn't working label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"RuntimeError: dictionary changed size during iteration" during import of anyio
2 participants