To do¶
- register signals in eventlet hub, only needed for pyevent hub?
- port greenio examples to aioeventlet
- write unit tests for, and maybe also examples for:
- TCP server
- UDP socket
- UNIX socket
- pipes
- signals
- subprocesses
- experiment running an event loop in a thread different than the main thread
- tox.ini: test Python 3.3 with monkey-patching, see eventlet bug: https://github.com/eventlet/eventlet/pull/168
eventlet issues¶
- eventlet monkey patching on Python 3 is incomplete. The most blocking issue is in the importlib: the thread module is patched to use greenthreads, but importlib really need to work on real threads. Pull request: https://github.com/eventlet/eventlet/pull/168
- eventlet.tpool.setup() seems to be broken on Windows in eventlet 0.15. Pull request: https://github.com/eventlet/eventlet/pull/167
- hub.debug_blocking is implemented with signal.alarm() which is is not available on Windows.
eventlet and Python 3¶
eventlet 0.15 is the first release supporting Python 3. Python 3 is only supported if monkey-patching is not used.
Python 3 pull requests:
- Pull request #160: Python 3 compat; Improve WSGI, WS, threading and tests (sent the Nov 5, 2014): not merged yet
- Pull request #99, Fix several issues with python3 thread patching (sent the July 3, 2014): not merged yet, see the commit
Python 3 issues:
- Issue #157: eventlet hanging (open since Oct 30, 2014)
- Issue #153: py3: green.threading.local is not green (closed the Nov 5, 2014)
- Issue #6: Support Python 3.3 (open since Jan 2013)