summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
AgeCommit message (Collapse)AuthorLines
2006-02-26Generate code to recursively copy an AST intoMartin v. Löwis-685/+1511
a tree of Python objects. Expose this through compile().
2006-01-02Regenerate.Martin v. Löwis-44/+44
2005-12-17Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines,Neal Norwitz-554/+113
simplifies a lot of error handling code, and fixes many memory leaks.
2005-12-11SF #1373150, diffs in working copy after a buildNeal Norwitz-1/+1
Strip off leading dots and slash so the generated files are the same regardless of whether you configure in the checkout directory or build. If anyone configures in a different directory, we might want a cleaner approach using os.path.*(). Hopefully this is good enough.
2005-11-13Whoops, checkin consistent versions of *all* files to stop pollutingNeal Norwitz-0/+74
a bunch of names
2005-11-13Prevent name pollution by making lots of internal functions static.Neal Norwitz-14/+28
2005-10-23Use PyErr_NoMemory() instead of rolling our own.Neal Norwitz-61/+54
Get rid of "int i" unused warnings from Python-ast.c which we are generating.
2005-10-20Merge ast-branch to headJeremy Hylton-0/+2281
This change implements a new bytecode compiler, based on a transformation of the parse tree to an abstract syntax defined in Parser/Python.asdl. The compiler implementation is not complete, but it is in stable enough shape to run the entire test suite excepting two disabled tests.