summaryrefslogtreecommitdiffstats
path: root/Parser/asdl_c.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node whenVictor Stinner2015-11-061-2/+10
| | | | compiling AST from Python objects.
* remove duplicated imports (closes #25502)Benjamin Peterson2015-10-291-1/+0
|
* Issue #19655: Replace the ASDL parser carried with CPythonEli Bendersky2014-05-101-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 Peterson2014-02-111-2/+6
|\
| * don't put runtime values in array initializer for C89 compliance (closes #20588)Benjamin Peterson2014-02-111-2/+6
| |
* | Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".Antoine Pitrou2013-10-121-2/+2
| | | | | | | | ("make smelly" now clean)
* | #18803: merge with 3.3.Ezio Melotti2013-08-251-1/+1
|\ \ | |/
| * #18803: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-251-1/+1
| |
* | Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes2013-07-261-3/+7
|\ \ | |/
| * Issue #18552: Check return value of PyArena_AddPyObject() in obj2ast_object().Christian Heimes2013-07-261-3/+7
| |
* | (Merge 3.3) Parser/asdl_c.py: use Py_CLEAR()Victor Stinner2013-07-261-2/+1
|\ \ | |/
| * Parser/asdl_c.py: use Py_CLEAR()Victor Stinner2013-07-261-2/+1
| |
* | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-1/+1
|\ \ | |/ | | | | Replace 8 spaces with 4.
| * According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-1/+1
| | | | | | | | Replace 8 spaces with 4.
* | Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError)Victor Stinner2013-07-161-3/+6
| |
* | change AST codegen to use PyModule_AddIntMacroBenjamin Peterson2013-05-201-1/+1
| |
* | placate msvcBenjamin Peterson2013-03-191-1/+2
| |
* | refactor to fix refleaksBenjamin Peterson2013-03-191-5/+15
| |
* | unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-181-1/+30
| | | | | | | | Patch from Sven Brauch.
* | create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-061-0/+12
|/
* - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.Matthias Klose2012-10-211-1/+0
|\
* \ #15923: merge with 3.2.Ezio Melotti2012-09-301-1/+1
|\ \ | |/
| * #15923: fix a mistake in asdl_c.py that resulted in a TypeError after ↵Ezio Melotti2012-09-301-1/+1
| | | | | | | | 2801bf875a24 (see #15801).
* | add gc support to the AST base type (closes #15293)Benjamin Peterson2012-07-081-4/+17
| |
* | Issue #15291: Fix a memory leak where AST nodes where not properly deallocated.Antoine Pitrou2012-07-081-0/+1
| |
* | use Py_ssize_t for ast sequence lengthsBenjamin Peterson2012-05-151-2/+2
| |
* | free AST's dictBenjamin Peterson2012-03-151-1/+7
| |
* | Try to fix compilation of Python-ast.c on Visual Studio 2008Victor Stinner2012-03-131-1/+1
| |
* | give the AST class a __dict__Benjamin Peterson2012-03-121-3/+15
| |
* | evidently some buildbots don't have python 3 installedBenjamin Peterson2011-12-291-1/+1
| |
* | run AST toolchain on python3Benjamin Peterson2011-12-291-1/+1
| |
* | Merge branch 3.2Amaury Forgeot d'Arc2011-11-221-5/+1
|\ \ | |/
| * Issue #13436: Fix a bogus error message when an AST object was passedAmaury Forgeot d'Arc2011-11-221-5/+1
| | | | | | | | an invalid integer value.
* | Issue 13243: Rename _Py_identifier to _Py_IDENTIFIER in asdl_c.pyMeador Inge2011-10-221-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öwis2011-10-141-3/+4
| |
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-101-4/+20
| |
* | Merge 3.2Éric Araujo2011-09-021-1/+1
|\ \ | |/
| * accept bytes for the AST 'string' typeBenjamin Peterson2011-09-011-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 Peterson2011-08-111-23/+3
| |
* | 2.x syntaxBenjamin Peterson2011-08-091-1/+1
| |
* | make this work on 2.4Benjamin Peterson2011-08-091-5/+17
| |
* | make this work with py2.5Benjamin Peterson2011-08-091-0/+1
| |
* | don't rewrite the header file if it hasn't changed; this reduces development ↵Benjamin Peterson2011-08-091-3/+10
| | | | | | | | build time
* | add a asdl bytes type, so Bytes.s be properly typecheckedBenjamin Peterson2011-08-091-0/+10
| |
* | merge 3.2Benjamin Peterson2011-07-221-10/+8
|\ \ | |/
| * None is ok for identifiers but not stringsBenjamin Peterson2011-07-221-10/+8
| |
| * hardcode the old svn __version__Benjamin Peterson2011-07-221-5/+3
| |
* | merge 3.2Benjamin Peterson2011-07-221-2/+19
|\ \ | |/
| * type check AST strings and identifiersBenjamin Peterson2011-07-221-2/+19
| | | | | | | | This is related to a21829180423 as well as #12609 and #12610.
* | remove ast.__version__ (closes #12273)Benjamin Peterson2011-07-161-29/+0
| |