Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Fix SelectSelector to be compatible with monkey_patch #15

Open
wants to merge 1 commit into
base: trollius
Choose a base branch
from
Open

Fix SelectSelector to be compatible with monkey_patch #15

wants to merge 1 commit into from

Conversation

snapiri
Copy link

@snapiri snapiri commented Jan 31, 2018

When using eventlet.monkey_patch(), it disables all the Selectors but
the SelectSelector. Another thing it does is modify how the constructor
handles the class methods.
The way the SelectSelector handles the _select function is incompatible
with that code.
We should have a bound method calling the select function (as is done
for the Win32) in order to fix this compatibility issue.

When using eventlet.monkey_patch(), it disables all the Selectors but
the SelectSelector. Another thing it does is modify how the constructor
handles the class methods.
The way the SelectSelector handles the _select function is incompatible
with that code.
We should have a bound method calling the select function (as is done
for the Win32) in order to fix this compatibility issue.
@vstinner
Copy link
Collaborator

FYI Trollius is looking for a new maintainer: I don't maintain it anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants