On Jan 14, 2014, at 3:01 AM, 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!

Hey Victor!

I'm actually hoping to distribute such a thing within Twisted itself, so that 
it can run against either Trollius or Tulip (in fact, Twisted's core event loop 
already supports Python 3, and we have a Python 3 buildbot, although much of 
the useful ancillary functionality hasn't been ported yet; I suspect it could 
be used as an event loop for Tulip already).

Would you like to coordinate on contributing such a thing?

-glyph

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to