This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jhylton
Recipients
Date 2001-03-21.23:51:12
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch threads nested_scopes flags throughout the
interpreter (mostly pythonrun.c) to support execfile,
exec, and compile as described in PEP 236.

It also supports -i in the natural way.  If you run
python -i foo.py and foo.py contains a future
statement, that future statement is still in effect
when you reach the interactive interpreter prompt.

There are a mess of new functions that now take a
PyCompilerFlags * argument.  It's a total mess, but we
hopefully we can remove it all as soon as we release
2.2.  It's only necessary for 2.1 to support future
nested scopes.

Note that the Windows main.c may also need to be
modified.  I've got no idea if it has something like
-i.
History
Date User Action Args
2007-08-23 15:04:26adminlinkissue410407 messages
2007-08-23 15:04:26admincreate