Message999

Author leouserz
Recipients
Date 2007-01-15.22:49:30
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
okay, this appears to be a compilation problem.  It seems that there are cases where a CompilerFlags instance is null and it is passed into the Module object.  This results in all flags being ignored, even though the future items like generators or division are not passed onto the PyTableCode.  The compiled code appears to be a static block.  There are 2 solutions I have in mind:
1. In the section where the flags are set up add some logic to check for future and see that division or generators are on.  If so, add to the flags.
2. In null CompilerFlags situations, check the Future object for division or generator.  If on and no CompilerFlags, create one and set its flags.

Ill do both patches and put them in the patch list.

leouser
History
Date User Action Args
2008-02-20 17:17:23adminlinkissue1230674 messages
2008-02-20 17:17:23admincreate