On 11/23/06, Henrik Eriksson <henke.eriksson@...> wrote:
> Hi everyone,
> It's great to see that this project is getting up to speed again. And since
> I'm both a java developer and a python fan I thought I'd lend a helping
> I was planning on starting to port the itertools module and when I ran
> test_itertools.py I noticed that generators aren't activated by default in
> 2.2. The tests use yield and to get that to work I need to use 'from
> __future__ import generators'. Since genarators should be activated by
> default in 2.3 it would be a good idea to 'fix' that right away in the 2.3
> branch. Right now I don't have enough understanding of the Jython code-base
> to do that change, so I thought someone here could point me in the right
You might get a clue from this early commit to the 2.3 branch:
That was intended to get generators working by default, but perhaps
some bug remains. Have a look around the codebase at how that
generator_allowed boolean is initialized & modified.
Oh, and welcome to the project!