On 08:50 am, [email protected] wrote:
> I heard that Python 3.3 may support coroutine natively via yield
>generator. I am interested in how this thing can affect twisted
>development.
Glyph wrote a good summary of the Python 3.x plan on Stack Overflow:
http://stackoverflow.com/questions/172306
You can also help out with the porting work and follow the progress of
others by watching tickets in the Python-3.x milestone:
http://twistedmatrix.com/trac/milestone/Python-3.x
Meanwhile, twisted.internet.defer.inlineCallbacks offers essentially all
of the same features as you'll get from PEP 380 (which I think is what
you're talking about when you say "support coroutine natively via yield
generator"), and works on Python 2.5 through 2.7.
There's also corotwine, which is even more extreme (than either
inlineCallbacks or PEP 380):
https://launchpad.net/corotwine
Jean-Paul
_______________________________________________
Twisted-Python mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python