-
Notifications
You must be signed in to change notification settings - Fork 377
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
check if select.poll is present, switch to select.select if not #78
Labels
Comments
I doubt I will have the time to implement it any time soon but if well abstracted il would be nice indeed. |
ghost
mentioned this issue
Jul 29, 2015
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jan 7, 2016
select.poll will be missing when Gevent (or Eventlet, soon) monkey patchiing is applied. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jan 7, 2016
The explanation is in the comment in the code. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 11, 2016
The explanation is in the comment in the code. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 11, 2016
The explanation is in the comment in the code. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 11, 2016
selectors provides implementation-indepandent interface to interact with various IO multiplexing methods. Using poll directly means that the code would fail if select.poll was missing (for example with gevent or Eventlet monkey patching enabled) while selectors.DefaultSelector can be depended on to be present. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 11, 2016
selectors provides implementation-indepandent interface to interact with various IO multiplexing methods. Using poll directly means that the code would fail if select.poll was missing (for example with gevent or Eventlet monkey patching enabled) while selectors.DefaultSelector can be depended on to be present. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 11, 2016
selectors provides implementation-indepandent interface to interact with various IO multiplexing methods. Using poll directly means that the code would fail if select.poll was missing (for example with gevent or Eventlet monkey patching enabled) while selectors.DefaultSelector can be depended on to be present. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 13, 2016
selectors provides implementation-indepandent interface to interact with various IO multiplexing methods. Using poll directly means that the code would fail if select.poll was missing (for example with gevent or Eventlet monkey patching enabled) while selectors.DefaultSelector can be depended on to be present. Closes: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 13, 2016
selectors provides implementation-indepandent interface to interact with various IO multiplexing methods. Using poll directly means that the code would fail if select.poll was missing (for example with gevent or Eventlet monkey patching enabled) while selectors.DefaultSelector can be depended on to be present. Related: seb-m#78
jstasiak
added a commit
to smarkets/pyinotify-smarkets
that referenced
this issue
Jun 13, 2016
selectors provides implementation-indepandent interface to interact with various IO multiplexing methods. Using poll directly means that the code would fail if select.poll was missing (for example with gevent or Eventlet monkey patching enabled) while selectors.DefaultSelector can be depended on to be present. Related: seb-m#78
@kkurian As this repository seems unmaintained we've created a fork[1](note: it requires Python 3.5+), the fork fixes the issue you describe here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
select.poll() is not supported by all platforms and so "most libraries check if select.poll() is present and switch to select.select() if it's not." [1]
The popular gevent library depends upon the above behavior and removes select.poll().
Request: In order to support gevent, check if select.poll is present and switch to select.select if it is not.
The text was updated successfully, but these errors were encountered: