0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 16:45:42 +01:00
cpython/Include
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
..
abstract.h This patch adds a new builtin unistr() which behaves like str() 2001-01-17 17:09:53 +00:00
bitset.h
bufferobject.h
cellobject.h PEP 227 implementation 2001-01-25 20:04:14 +00:00
ceval.h
classobject.h PEP 205, Weak References -- initial checkin. 2001-02-01 05:27:45 +00:00
cobject.h
codecs.h
compile.h PEP 227 implementation 2001-01-25 20:06:59 +00:00
complexobject.h
config.h
cStringIO.h
dictobject.h
errcode.h
eval.h
fileobject.h
floatobject.h
frameobject.h Remove f_closure slot of frameobject and use f_localsplus instead. 2001-01-29 22:51:52 +00:00
funcobject.h PEP 227 implementation 2001-01-25 20:06:59 +00:00
graminit.h
grammar.h
import.h
intobject.h
intrcheck.h
listobject.h
longintrepr.h
longobject.h
marshal.h It's unclear whether PyMarshal_XXX() are part of the public or private API. 2001-01-28 00:27:39 +00:00
metagrammar.h
methodobject.h
modsupport.h The addition of new parameters to functions in the Python/C API requires 2001-01-25 22:13:34 +00:00
moduleobject.h
node.h
object.h Use a type flag to determine the applicability of the tp_weaklistoffset 2001-02-02 18:17:30 +00:00
objimpl.h Use a type flag to determine the applicability of the tp_weaklistoffset 2001-02-02 18:17:30 +00:00
opcode.h Allow 'continue' inside 'try' clause 2001-02-01 22:48:12 +00:00
osdefs.h
parsetok.h
patchlevel.h bump to 2.1a2 2001-02-02 20:13:01 +00:00
pgenheaders.h
py_curses.h Added header file for C API exported by _cursesmodule.c 2000-12-22 21:51:10 +00:00
pydebug.h
pyerrors.h
pyfpe.h
pygetopt.h
pymem.h
pyport.h Remove include-file-dependant half-prototype of clnt_create(). 2001-01-22 16:50:11 +00:00
pystate.h Add a new API, PyThreadState_DeleteCurrent() that combines 2001-01-23 01:46:06 +00:00
Python.h PEP 227 implementation 2001-01-25 20:04:14 +00:00
pythonrun.h Move a bunch of definitions that were internal to compile.c to 2001-02-02 18:19:15 +00:00
pythread.h
rangeobject.h
rename1.h
sliceobject.h
stringobject.h
structmember.h
symtable.h Relax the rules for using 'from ... import *' and exec in the presence 2001-02-09 22:22:18 +00:00
sysmodule.h Add declarations for PySys_ResetWarnOptions() and 2000-12-15 22:01:39 +00:00
token.h
traceback.h
tupleobject.h
ucnhash.h refactored the unicodeobject/ucnhash interface, to hide the 2001-01-19 09:45:02 +00:00
unicodeobject.h