Skip to content

Use select.select when select.poll is not available (#327)#331

Merged
lovelydinosaur merged 6 commits into
encode:masterfrom
bobh66:fix/select_with_eventlet
May 4, 2021
Merged

Use select.select when select.poll is not available (#327)#331
lovelydinosaur merged 6 commits into
encode:masterfrom
bobh66:fix/select_with_eventlet

Conversation

@bobh66

@bobh66 bobh66 commented May 3, 2021

Copy link
Copy Markdown
Contributor

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

Resolved #327

Comment thread httpcore/_utils.py Outdated
@lovelydinosaur
lovelydinosaur merged commit 8d87938 into encode:master May 4, 2021
@bobh66

bobh66 commented May 4, 2021

Copy link
Copy Markdown
Contributor Author

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

@lovelydinosaur lovelydinosaur mentioned this pull request May 6, 2021
nieder added a commit to fink/fink-distributions that referenced this pull request Feb 24, 2025
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