Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1355883: Build Python-ast.c and Python-ast.h | Martin v. Löwis | 2006-04-14 | 1 | -30/+30 |
| | | | | independently. Fixes #1355883. | ||||
* | Introduce asdl_int_seq, to hold cmpop_ty. | Martin v. Löwis | 2006-04-13 | 1 | -3/+9 |
| | |||||
* | Make _kind types global for C++ compilation. | Martin v. Löwis | 2006-04-11 | 1 | -3/+5 |
| | | | | Explicitly cast void* to int to cmpop_ty. | ||||
* | Make path calculation platform independent | Jeremy Hylton | 2006-04-04 | 1 | -1/+1 |
| | |||||
* | Add lineno, col_offset to excephandler to enable future fix for | Jeremy Hylton | 2006-04-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | tracing/line number table in except blocks. Reflow long lines introduced by col_offset changes. Update test_ast to handle new fields in excepthandler. As note in Python.asdl says, we might want to rethink how attributes are handled. Perhaps they should be the same as other fields, with the primary difference being how they are defined for all types within a sum. Also fix asdl_c so that constructors with int fields don't fail when passed a zero value. | ||||
* | * Fix a refleak of *_attributes. | Neal Norwitz | 2006-04-03 | 1 | -5/+7 |
| | | | | | | * Cleanup formatting a bit (add spaces). * Move static var initialized inside init_types() since that's the only place it's used. | ||||
* | Fix memory leak on attributes. | Martin v. Löwis | 2006-03-02 | 1 | -1/+3 |
| | |||||
* | Don't pollute namespace as bad as before. All the types are static now. | Neal Norwitz | 2006-02-28 | 1 | -7/+7 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-02-28 | 1 | -13/+13 |
| | |||||
* | Generate return statement. | Martin v. Löwis | 2006-02-28 | 1 | -0/+1 |
| | |||||
* | Add generation of the version. | Martin v. Löwis | 2006-02-28 | 1 | -1/+2 |
| | |||||
* | Add support for version field on Modules | Martin v. Löwis | 2006-02-28 | 1 | -0/+1 |
| | |||||
* | Create _ast module. | Martin v. Löwis | 2006-02-27 | 1 | -191/+86 |
| | | | | Cleanup Python-ast.c generation. | ||||
* | Avoid reinitializing the types twice. | Martin v. Löwis | 2006-02-27 | 1 | -0/+1 |
| | |||||
* | Stop generating empty arrays. | Martin v. Löwis | 2006-02-26 | 1 | -12/+22 |
| | |||||
* | Fix iterating over cmpop_ty lists. | Martin v. Löwis | 2006-02-26 | 1 | -5/+13 |
| | |||||
* | Generate code to recursively copy an AST into | Martin v. Löwis | 2006-02-26 | 1 | -59/+206 |
| | | | | a tree of Python objects. Expose this through compile(). | ||||
* | Whitespace normalization. | Tim Peters | 2005-12-25 | 1 | -50/+50 |
| | |||||
* | Merge from ast-arena. This reduces the code in Python/ast.c by ~300 lines, | Neal Norwitz | 2005-12-17 | 1 | -5/+10 |
| | | | | simplifies a lot of error handling code, and fixes many memory leaks. | ||||
* | When regenerating files like Python-ast.h, take care that the generated | Armin Rigo | 2005-12-14 | 1 | -3/+2 |
| | | | | | | | comment based on 'sys.args[0]' does not depend on the path. For Python builds from a remote directory ("/path/to/configure; make") the previous logic used to include the "/path/to" portion in Python-ast.h. Then svn would consider this file to be locally modified. | ||||
* | SF #1373150, diffs in working copy after a build | Neal Norwitz | 2005-12-11 | 1 | -1/+5 |
| | | | | | | | | 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. | ||||
* | Whoops, checkin consistent versions of *all* files to stop polluting | Neal Norwitz | 2005-11-13 | 1 | -6/+80 |
| | | | | a bunch of names | ||||
* | Prevent name pollution by making lots of internal functions static. | Neal Norwitz | 2005-11-13 | 1 | -4/+4 |
| | |||||
* | Use PyErr_NoMemory() instead of rolling our own. | Neal Norwitz | 2005-10-23 | 1 | -7/+5 |
| | | | | Get rid of "int i" unused warnings from Python-ast.c which we are generating. | ||||
* | Merge ast-branch to head | Jeremy Hylton | 2005-10-20 | 1 | -0/+621 |
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. |