[Twisted-Python] Does twisted have plan to support python 3.x?
![](https://secure.gravatar.com/avatar/b21dcd444b9c16ac6bf50cda1999265a.jpg?s=120&d=mm&r=g)
I heard that Python 3.3 may support coroutine natively via yield generator. I am interested in how this thing can affect twisted development. The most compelling feature of twisted for me is to support a large set of protocols and the most important...it can run on windows flawlessly. Other solutions like gevent, eventlet or etc usually are unable to run on windows. Regards gelin yan
![](https://secure.gravatar.com/avatar/607cfd4a5b41fe6c886c978128b9c03e.jpg?s=120&d=mm&r=g)
On 08:50 am, dynamicgl@gmail.com 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
participants (2)
-
exarkun@twistedmatrix.com
-
gelin yan