cpython/Python
Jeremy Hylton cb17ae8b19 Relax the rules for using 'from ... import *' and exec in the presence
of nested functions.  Either is allowed in a function if it contains
no defs or lambdas or the defs and lambdas it contains have no free
variables.  If a function is itself nested and has free variables,
either is illegal.

Revise the symtable to use a PySymtableEntryObject, which holds all
the revelent information for a scope, rather than using a bunch of
st_cur_XXX pointers in the symtable struct.  The changes simplify the
internal management of the current symtable scope and of the stack.

Added new C source file: Python/symtable.c.  (Does the Windows build
process need to be updated?)

As part of these changes, the initial _symtable module interface
introduced in 2.1a2 is replaced.  A dictionary of
PySymtableEntryObjects are returned.
2001-02-09 22:22:18 +00:00
..
.cvsignore
atof.c
bltinmodule.c Backed out the unistr() builtin. 2001-01-19 21:36:19 +00:00
ceval.c SF patch 103596 by Nick Mathewson: rause UnboundLocalError for 2001-02-05 17:23:16 +00:00
codecs.c
compile.c Relax the rules for using 'from ... import *' and exec in the presence 2001-02-09 22:22:18 +00:00
dup2.c
dynload_aix.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_mac.c Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef. 2001-01-19 23:34:06 +00:00
dynload_next.c
dynload_os2.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
errors.c
exceptions.c Leak pluggin', bug fixin' and better documentin'. Specifically, 2001-01-23 16:08:34 +00:00
fmod.c
frozen.c
frozenmain.c
getargs.c Better error message when non-dictionary received for **kwarg 2001-01-25 20:13:10 +00:00
getcompiler.c
getcopyright.c Add my name to the copyright notice. 2001-01-18 14:50:11 +00:00
getcwd.c
getmtime.c Move distributed and duplicated config for stat() and fstat() into pyport.h. 2001-01-18 03:03:16 +00:00
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c This modified version of a patch by Thomas Heller allows __import__ 2001-02-09 19:40:15 +00:00
importdl.c
importdl.h
marshal.c It's unclear whether PyMarshal_XXX() are part of the public or private API. 2001-01-28 00:27:39 +00:00
memmove.c
modsupport.c
mystrtoul.c
pyfpe.c
pystate.c Add a new API, PyThreadState_DeleteCurrent() that combines 2001-01-23 01:46:06 +00:00
pythonmain.c
pythonrun.c Move a bunch of definitions that were internal to compile.c to 2001-02-02 18:19:15 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c SF bug http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470 2001-01-27 06:20:08 +00:00
symtable.c Relax the rules for using 'from ... import *' and exec in the presence 2001-02-09 22:22:18 +00:00
sysmodule.c Neil discovered a bad DECREF on warnoptions, that caused repeated 2001-01-13 22:06:05 +00:00
thread.c
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c