Good job, Victor! Too bad the Qt loop integration is 7 months old and still uses the old Tulip API :-(
But at least it should be much easier to finish porting to the new API than writing everything from scratch. So this is very useful. Thanks. On 14 January 2014 11:01, Victor Stinner <[email protected]> wrote: > 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 > -- Gustavo J. A. M. Carneiro Gambit Research LLC "The universe is always one step beyond logic." -- Frank Herbert
