Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+220 |
|\ | | | | | | | compiling it. | ||||
| * | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+216 |
| | | | | | | | | compiling it. | ||||
| * | Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when | Victor Stinner | 2015-11-06 | 1 | -2/+29 |
| | | | | | | | | compiling AST from Python objects. | ||||
* | | Issue #28008: Implement PEP 530 -- asynchronous comprehensions. | Yury Selivanov | 2016-09-09 | 1 | -3/+24 |
| | | |||||
* | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 1 | -1/+123 |
| | | | | | | | | Patch by Ivan Levkivskyi. | ||||
* | | Issue #26146: remove useless code | Victor Stinner | 2016-01-26 | 1 | -7/+0 |
| | | | | | | | | | | | | | | | | obj2ast_constant() code is baesd on obj2ast_object() which has a special case for Py_None. But in practice, we don't need to have a special case for constants. Issue noticed by Joseph Jevnik on a review. | ||||
* | | Add ast.Constant | Victor Stinner | 2016-01-25 | 1 | -0/+79 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by external AST optimizers, but the compiler does not emit directly such node. An optimizer can replace the following AST nodes with ast.Constant: * ast.NameConstant: None, False, True * ast.Num: int, float, complex * ast.Str: str * ast.Bytes: bytes * ast.Tuple if items are constants too: tuple * frozenset Update code to accept ast.Constant instead of ast.Num and/or ast.Str: * compiler * docstrings * ast.literal_eval() * Tools/parser/unparse.py | ||||
* | | Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when | Victor Stinner | 2015-11-06 | 1 | -2/+29 |
| | | | | | | | | compiling AST from Python objects. | ||||
* | | Issue #24965: Implement PEP 498 "Literal String Interpolation". ↵ | Eric V. Smith | 2015-09-19 | 1 | -0/+165 |
| | | | | | | | | Documentation is still needed, I'll open an issue for that. | ||||
* | | Issue #15989: Fixed some scarcely probable integer overflows. | Serhiy Storchaka | 2015-09-06 | 1 | -1/+1 |
|/ | | | | It is very unlikely that they can occur in real code for now. | ||||
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -0/+473 |
| | |||||
* | PEP 448: additional unpacking generalizations (closes #2292) | Benjamin Peterson | 2015-05-06 | 1 | -93/+12 |
| | | | | Patch by Neil Girdhar. | ||||
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) | Benjamin Peterson | 2014-04-10 | 1 | -3/+21 |
| | |||||
* | 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 | -48/+48 |
| | | | | | | | | ("make smelly" now clean) | ||||
* | | 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 | -266/+133 |
|\ \ | |/ | |||||
| * | Parser/asdl_c.py: use Py_CLEAR() | Victor Stinner | 2013-07-26 | 1 | -268/+134 |
| | | |||||
* | | (Merge 3.3) According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 1 | -5856/+5811 |
|\ \ | |/ | | | | | Replace 8 spaces with 4. | ||||
| * | According to the PEP 7, C code must "use 4-space indents" | Victor Stinner | 2013-07-26 | 1 | -5824/+5779 |
| | | | | | | | | 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 |
| | | |||||
* | | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() | Charles-Francois Natali | 2013-05-20 | 1 | -1/+1 |
| | | | | | | | | when applicable. | ||||
* | | bump Python-ast.c | Benjamin Peterson | 2013-03-19 | 1 | -1/+2 |
| | | |||||
* | | refactor to fix refleaks | Benjamin Peterson | 2013-03-19 | 1 | -22/+34 |
| | | |||||
* | | unify some ast.argument's attrs; change Attribute column offset (closes #16795) | Benjamin Peterson | 2013-03-18 | 1 | -102/+81 |
| | | | | | | | | Patch from Sven Brauch. | ||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -1/+0 |
| | | |||||
* | | create NameConstant AST class for None, True, and False literals (closes #16619) | Benjamin Peterson | 2012-12-06 | 1 | -0/+73 |
|/ | |||||
* | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 1 | -1/+7 |
| | |||||
* | 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 |
| | |||||
* | Document f4d7ad6c9d6e. | Martin v. Löwis | 2012-05-15 | 1 | -2/+2 |
| | |||||
* | Widen ASDL sequences to Py_ssize_t lengths to better match PEP 353. | Martin v. Löwis | 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 |
| | |||||
* | make YieldFrom its own distinct from Yield (closes #13780) | Benjamin Peterson | 2012-01-14 | 1 | -15/+47 |
| | |||||
* | Issue #13645: pyc files now contain the size of the corresponding source | Antoine Pitrou | 2012-01-13 | 1 | -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 Coghlan | 2012-01-13 | 1 | -3/+24 |
| | |||||
* | Merge branch 3.2 | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
|\ | |||||
| * | Issue #13436: commit regenerated Python-ast.c | Amaury Forgeot d'Arc | 2011-11-22 | 1 | -5/+1 |
| | | |||||
* | | Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. | Martin v. Löwis | 2011-10-14 | 1 | -134/+135 |
| | | |||||
* | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -65/+65 |
| | | |||||
* | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -268/+333 |
| | | |||||
* | | 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. | ||||
* | | add a asdl bytes type, so Bytes.s be properly typechecked | Benjamin Peterson | 2011-08-09 | 1 | -4/+14 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-22 | 1 | -10/+8 |
|\ \ | |/ |