Message2313

Author lycotic
Recipients
Date 2003-12-19.04:32:31
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch carries over __future__ generator/division 
declarations to eval()/execfile()/etc.  There was some 
support before, but because the flags didn't make it into 
function scopes, they didn't make it all the way through.

eval() also had a special case ignoring this, but it was 
referring to (defunct) support for turning on nested scopes 
(they're always on now).

CPython 2.1 test_long_future.py now passes.

I'd put more direct testing for this in, but I'm not sure 
exactly where.  A test_j*.py in Lib/test? Something in Lib/
test/bugs?
History
Date User Action Args
2008-02-20 17:18:22adminlinkissue862707 messages
2008-02-20 17:18:22admincreate