[Twisted-Python] Will twisted be using generators new in Python 2.3?

Christopher Armstrong radix at twistedmatrix.com
Mon Feb 10 18:59:21 MST 2003


On Mon, Feb 10, 2003 at 07:33:54PM -0500, Bob Ippolito wrote:
> 
> On Monday, Feb 10, 2003, at 18:56 America/New_York, Dmitry Litovchenko 
> wrote:
> 
> >i.e. will we simplify our life by using generators from Python 2.3, I
> >thought of that already but currently have Twisted windows binaries
> >only for Python 2.2.
> 
> We've been over this one before.  Although generators have been in 
> __future__ for all of 2.2, Twisted can't use generators so long as we 
> need to support 2.1.  As far as I know, we need to have full support 
> for 2.1 as long as Zope requires it.

But of course this doesn't prevent your *own* code from using
generators, if you want to require Python 2.2, which Twisted works
fine with. We just can't accept any generator-using code into core
Twisted.

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/




More information about the Twisted-Python mailing list