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 select.select when select.poll is not available (#327) #331

Merged
merged 6 commits into from
May 4, 2021

Conversation

bobh66
Copy link
Contributor

@bobh66 bobh66 commented May 3, 2021

Fixes the case where socket has been monkey-patched by something like eventlet, which removes support for the poll() method.

Resolved #327

httpcore/_utils.py Outdated Show resolved Hide resolved
@tomchristie tomchristie merged commit 8d87938 into encode:master May 4, 2021
@bobh66
Copy link
Contributor Author

bobh66 commented May 4, 2021

Thanks for the merge - apologies for the error in the patch.

@tomchristie tomchristie mentioned this pull request May 6, 2021
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.

select.poll() is not available when using eventlet
2 participants