Hi,

I tried to list all existing event loops for asyncio here:
http://haypo-notes.readthedocs.org/asyncio.html#replacing-the-event-loop

I found event loops for Qt, Tk, Tornado and Glib (and so Gtk), but not
for Twisted nor wxPython. For Twisted, it's not surprising, Tulip
requires Python 3.3 and Twisted doesn't support Python 3 yet.

But Trollius supports Python 2! So I wrote a basic event loop
supporting scheduling callbacks and running a task:
https://bitbucket.org/haypo/trollius/src/tip/asyncio/twisted.py

I'm surprised that it works on basic asyncio examples :-) Obviously,
it's uncomplete. Sockets, pipes and subprocesses are not implemented
yet for example. So you cannot use it with the tcp_echo.py example for
example.

If you are interested, please contribute!

Victor

Reply via email to