summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #4555: All exported C symbols are now prefixed with either "Py" or "_Py".Antoine Pitrou2013-10-121-48/+48
| | | | ("make smelly" now clean)
* 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-266/+133
|\ \ | |/
| * Parser/asdl_c.py: use Py_CLEAR()Victor Stinner2013-07-261-268/+134
| |
* | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-5856/+5811
|\ \ | |/ | | | | Replace 8 spaces with 4.
| * According to the PEP 7, C code must "use 4-space indents"Victor Stinner2013-07-261-5824/+5779
| | | | | | | | Replace 8 spaces with 4.
* | Issue #18408: Fix Python-ast.c: handle init_types() failure (ex: MemoryError)Victor Stinner2013-07-161-3/+6
| |
* | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()Charles-Francois Natali2013-05-201-1/+1
| | | | | | | | when applicable.
* | bump Python-ast.cBenjamin Peterson2013-03-191-1/+2
| |
* | refactor to fix refleaksBenjamin Peterson2013-03-191-22/+34
| |
* | unify some ast.argument's attrs; change Attribute column offset (closes #16795)Benjamin Peterson2013-03-181-102/+81
| | | | | | | | Patch from Sven Brauch.
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-1/+0
| |
* | create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-061-0/+73
|/
* Issue #16546: make ast.YieldFrom argument mandatory.Mark Dickinson2012-11-251-1/+7
|
* 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
|
* Document f4d7ad6c9d6e.Martin v. Löwis2012-05-151-2/+2
|
* Widen ASDL sequences to Py_ssize_t lengths to better match PEP 353.Martin v. Löwis2012-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
|
* make YieldFrom its own distinct from Yield (closes #13780)Benjamin Peterson2012-01-141-15/+47
|
* Issue #13645: pyc files now contain the size of the corresponding sourceAntoine Pitrou2012-01-131-1/+1
| | | | | code, to avoid timestamp collisions (especially on filesystems with a low timestamp resolution) when checking for freshness of the bytecode.
* Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-3/+24
|
* Merge branch 3.2Amaury Forgeot d'Arc2011-11-221-5/+1
|\
| * Issue #13436: commit regenerated Python-ast.cAmaury Forgeot d'Arc2011-11-221-5/+1
| |
* | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.Martin v. Löwis2011-10-141-134/+135
| |
* | Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-141-65/+65
| |
* | Use identifier API for PyObject_GetAttrString.Martin v. Löwis2011-10-101-268/+333
| |
* | 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.
* | add a asdl bytes type, so Bytes.s be properly typecheckedBenjamin Peterson2011-08-091-4/+14
| |
* | 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-2/+2
| |
* | merge 3.2Benjamin Peterson2011-07-221-2/+19
|\ \ | |/
| * type check AST strings and identifiersBenjamin Peterson2011-07-221-4/+21
| | | | | | | | This is related to a21829180423 as well as #12609 and #12610.
* | remove ast.__version__ (closes #12273)Benjamin Peterson2011-07-161-11/+0
| |
* | bump ast versionBenjamin Peterson2011-05-291-2/+2
| |
* | unify TryExcept and TryFinally (closes #12199)Benjamin Peterson2011-05-291-101/+31
| |
* | bump ast versionBenjamin Peterson2011-05-271-2/+2
| |
* | reflect with statements with multiple items in the AST (closes #12106)Benjamin Peterson2011-05-271-40/+121
| |
* | use only the hex version, since the revno is unreliable across reposBenjamin Peterson2011-03-131-3/+2
| |
* | bump ast versionBenjamin Peterson2011-03-131-2/+2
| |
* | convert ast versioning to mercurialBenjamin Peterson2011-03-131-2/+3
|/
* fix refleakBenjamin Peterson2010-11-211-0/+5
|
* new plan: functions that want 'tmp' can declare itBenjamin Peterson2010-11-201-20/+5
|
* c89 declarationsBenjamin Peterson2010-11-201-10/+10
|