issue with gevent monkeypatching on python > 3.4
See original GitHub issuefrom http://www.gevent.org/gevent.monkey.html
patch_select(aggressive=True) Replace select.select() with gevent.select.select() and select.poll() with gevent.select.poll (where available).
If aggressive is true (the default), also remove other blocking functions from select and (on Python 3.4 and above) selectors:
select.epoll() select.kqueue() select.kevent() select.devpoll() (Python 3.5+) selectors.EpollSelector selectors.KqueueSelector selectors.DevpollSelector (Python 3.5+)
On python 3.6, if i use gevent monkey-patching (“patch_all”), I start to get following errors on pusher.trigger('ssssss', 'client-message', event)
AttributeError: module ‘select’ has no attribute ‘epoll’
really need help on this
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
gevent.monkey – Make the standard library cooperative
Beginning in gevent 1.3, events are emitted during the monkey patching process. These events are delivered first to gevent.events subscribers, and then to ......
Read more >Gevent monkey patching - OverflowError - Stack Overflow
The problem was that I was running 32bit instead of 64bit Python3 on RPi.
Read more >Seeing MonkeyPatching error while running newrelic-admin ...
Hello, I have spoken to our Python agent team regarding your concerns. After looking into it, they believe that this is a non-issue....
Read more >Side effects of monkey patching - Google Groups
I am new to gevent, and am trying to make asynchronous http requests using the async module of requests library. The async module...
Read more >Gevent — PyMongo 3.4.0 documentation
PyMongo uses thread and socket functions from the Python standard library. Gevent's monkey-patching replaces those standard functions so that PyMongo does ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi callum, thanks for looking into this. Really appreciate this.
wanted to point out some relevant links that may be helpful to you -
https://github.com/shazow/urllib3/pull/1105 https://github.com/shazow/urllib3/pull/1128 https://github.com/kennethreitz/requests/issues/3831 https://github.com/shazow/urllib3/issues/1104 (though is python 2.7) https://github.com/miguelgrinberg/Flask-SocketIO/issues/413
regards Sandeep
On Tue, May 2, 2017 at 6:52 PM, Callum Oakley notifications@github.com wrote:
Closing because there has been no example provided that reproduces the issue. Please re-open if you can provide this.