Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19655: Replace the ASDL parser carried with CPython | Eli Bendersky | 2014-05-10 | 1 | -29/+25 |
| | | | | | | | | The new parser does not rely on Spark (which is now removed from our repo), uses modern 3.x idioms and is significantly smaller and simpler. It generates exactly the same AST files (.h and .c), so in practice no builds should be affected. | ||||
* | merge 3.3 (#20588) | Benjamin Peterson | 2014-02-11 | 1 | -2/+6 |
|\ | |||||
| * | don't put runtime values in array initializer for C89 compliance (closes #20588) | Benjamin Peterson | 2014-02-11 | 1 | -2/+6 |
| | | |||||
* | | Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py". | Antoine Pitrou | 2013-10-12 | 1 | -2/+2 |
| | | | | | | | | ("make smelly" now clean) | ||||
* | | #18803: merge with 3.3. | Ezio Melotti | 2013-08-25 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #18803: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-25 | 1 | -1/+1 |
| | | |||||
* | | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). | Christian Heimes | 2013-07-26 | 1 | -3/+7 |
|\ \ | |/ | |||||
| * | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object(). | Christian Heimes | 2013-07-26 | 1 | -3/+7 |
| | | |||||
* | | (Merge 3.3) Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-26 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-26 | 1 | -2/+1 |
| | | |||||
* | | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 1 | -1/+1 |
|\ \ | |/ | | | | | Replace 8 spaces with 4. | ||||
| * | According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 1 | -1/+1 |
| | | | | | | | | Replace 8 spaces with 4. | ||||
* | | Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError) | Victor Stinner | 2013-07-16 | 1 | -3/+6 |
| | | |||||
* | | change AST codegen to use PyModule_AddIntMacro | Benjamin Peterson | 2013-05-20 | 1 | -1/+1 |
| | | |||||
* | | placate msvc | Benjamin Peterson | 2013-03-19 | 1 | -1/+2 |
| | | |||||
* | | refactor to fix refleaks | Benjamin Peterson | 2013-03-19 | 1 | -5/+15 |
| | | |||||
* | | unify some ast.argument's attrs; change Attribute column offset (closes #16795) | Benjamin Peterson | 2013-03-18 | 1 | -1/+30 |
| | | | | | | | | Patch from Sven Brauch. | ||||
* | | create NameConstant AST class for None, True, and False literals (closes #16619) | Benjamin Peterson | 2012-12-06 | 1 | -0/+12 |
|/ | |||||
* | - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. | Matthias Klose | 2012-10-21 | 1 | -1/+0 |
|\ | |||||
* \ | #15923: merge with 3.2. | Ezio Melotti | 2012-09-30 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #15923: fix a mistake in asdl_c.py that resulted in a TypeError after ↵ | Ezio Melotti | 2012-09-30 | 1 | -1/+1 |
| | | | | | | | | 2801bf875a24 (see #15801). | ||||
* | | add gc support to the AST base type (closes #15293) | Benjamin Peterson | 2012-07-08 | 1 | -4/+17 |
| | | |||||
* | | Issue #15291: Fix a memory leak where AST nodes where not properly deallocated. | Antoine Pitrou | 2012-07-08 | 1 | -0/+1 |
| | | |||||
* | | use Py_ssize_t for ast sequence lengths | Benjamin Peterson | 2012-05-15 | 1 | -2/+2 |
| | | |||||
* | | free AST's dict | Benjamin Peterson | 2012-03-15 | 1 | -1/+7 |
| | | |||||
* | | Try to fix compilation of Python-ast.c on Visual Studio 2008 | Victor Stinner | 2012-03-13 | 1 | -1/+1 |
| | | |||||
* | | give the AST class a __dict__ | Benjamin Peterson | 2012-03-12 | 1 | -3/+15 |
| | | |||||
* | | evidently some buildbots don't have python 3 installed | Benjamin Peterson | 2011-12-29 | 1 | -1/+1 |
| | | |||||
* | | run AST toolchain on python3 | Benjamin Peterson | 2011-12-29 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 3.2 | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
|\ \ | |/ | |||||
| * | Issue #13436: Fix a bogus error message when an AST object was passed | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
| | | | | | | | | an invalid integer value. | ||||
* | | Issue 13243: Rename _Py_identifier to _Py_IDENTIFIER in asdl_c.py | Meador Inge | 2011-10-22 | 1 | -3/+3 |
| | | | | | | | | | | Parser/asdl_c.py was missed in commit 7109f31300fb when _Py_identifier was replaced with _Py_IDENTIFIER. Thanks to Eric Snow for the patch. | ||||
* | | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. | Martin v. Löwis | 2011-10-14 | 1 | -3/+4 |
| | | |||||
* | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -4/+20 |
| | | |||||
* | | Merge 3.2 | Éric Araujo | 2011-09-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | accept bytes for the AST 'string' type | Benjamin Peterson | 2011-09-01 | 1 | -1/+1 |
| | | | | | | | | This is a temporary kludge and all is well in 3.3. | ||||
* | | revert code which conditionally writes Python-ast.h (closes #12727) | Benjamin Peterson | 2011-08-11 | 1 | -23/+3 |
| | | |||||
* | | 2.x syntax | Benjamin Peterson | 2011-08-09 | 1 | -1/+1 |
| | | |||||
* | | make this work on 2.4 | Benjamin Peterson | 2011-08-09 | 1 | -5/+17 |
| | | |||||
* | | make this work with py2.5 | Benjamin Peterson | 2011-08-09 | 1 | -0/+1 |
| | | |||||
* | | don't rewrite the header file if it hasn't changed; this reduces development ↵ | Benjamin Peterson | 2011-08-09 | 1 | -3/+10 |
| | | | | | | | | build time | ||||
* | | add a asdl bytes type, so Bytes.s be properly typechecked | Benjamin Peterson | 2011-08-09 | 1 | -0/+10 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-22 | 1 | -10/+8 |
|\ \ | |/ | |||||
| * | None is ok for identifiers but not strings | Benjamin Peterson | 2011-07-22 | 1 | -10/+8 |
| | | |||||
| * | hardcode the old svn __version__ | Benjamin Peterson | 2011-07-22 | 1 | -5/+3 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-22 | 1 | -2/+19 |
|\ \ | |/ | |||||
| * | type check AST strings and identifiers | Benjamin Peterson | 2011-07-22 | 1 | -2/+19 |
| | | | | | | | | This is related to a21829180423 as well as #12609 and #12610. | ||||
* | | remove ast.__version__ (closes #12273) | Benjamin Peterson | 2011-07-16 | 1 | -29/+0 |
| | | |||||
* | | use only the hex version, since the revno is unreliable across repos | Benjamin Peterson | 2011-03-13 | 1 | -1/+1 |
| | | |||||
* | | actually get file rev | Benjamin Peterson | 2011-03-13 | 1 | -1/+1 |
| | |