Message2313
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? |
|
Date |
User |
Action |
Args |
2008-02-20 17:18:22 | admin | link | issue862707 messages |
2008-02-20 17:18:22 | admin | create | |
|