- 09 Feb, 2001 40 commits
-
-
Jeremy Hylton authored
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.
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Marc-André Lemburg authored
hooks to take over the Python import machinery at a very early stage in the Python startup phase. If there are still places in the Python interpreter which need to bypass the __import__ hook, these places must now use PyImport_ImportModuleEx() instead. So far no other places than in the import mechanism itself have been identified.
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Sjoerd Mullender authored
-
Eric S. Raymond authored
-
Jack Jansen authored
-
Jack Jansen authored
Replaced touched(), which no longer seems to work under os9, with something using an appleevent to the finder. More expensive, but at least it works:-)
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Guido van Rossum authored
spaces->tab conversion for fields added to struct compiling.
-
Marc-André Lemburg authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
Some of the characters (form feed, vertical tab) are not legal continuation characters anyway, so this was wrong as well as annoying.
-
Eric S. Raymond authored
-
Eric S. Raymond authored
(This one was trivial -- no actual string. references in it!)
-
Eric S. Raymond authored
-
Eric S. Raymond authored
(This one was trivial -- no actual string. references in it!)
-
Eric S. Raymond authored
(This one was trivial -- no actual string. references in it!)
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
int().
-
Eric S. Raymond authored
(This one was trivial -- no actual string. references in it!)
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-
Marc-André Lemburg authored
-
Eric S. Raymond authored
-
Eric S. Raymond authored
-