Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28008: Implement PEP 530 -- asynchronous comprehensions. | Yury Selivanov | 2016-09-09 | 1 | -0/+6 |
| | |||||
* | Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal. | Guido van Rossum | 2016-09-09 | 1 | -68/+36 |
| | | | | Patch by Ivan Levkivskyi. | ||||
* | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 1 | -2/+4 |
| | |||||
* | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 1 | -0/+56 |
| | | | | Patch by Ivan Levkivskyi. | ||||
* | Fix potential NULL pointer dereference in update_symbols() | Christian Heimes | 2016-09-08 | 1 | -1/+1 |
| | | | | | | symtable_analyze() calls analyze_block() with bound=NULL. Theoretically that NULL can be passed down to update_symbols(). update_symbols() may deference NULL and pass it to PySet_Contains() | ||||
* | Merge typo fixes from 3.5 | Martin Panter | 2016-06-04 | 1 | -1/+1 |
|\ | |||||
| * | Fix typos in code comment and documentation | Martin Panter | 2016-06-04 | 1 | -1/+1 |
| | | |||||
* | | Add ast.Constant | Victor Stinner | 2016-01-25 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | merge 3.5 (#25973) | Benjamin Peterson | 2015-12-29 | 1 | -8/+16 |
|\ \ | |/ | |||||
| * | make recording and reporting errors and nonlocal and global directives more ↵ | Benjamin Peterson | 2015-12-29 | 1 | -8/+16 |
| | | | | | | | | robust (closes #25973) | ||||
* | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -2/+2 |
| | | | | | | | | private functions. | ||||
* | | Issue #24965: Implement PEP 498 "Literal String Interpolation". ↵ | Eric V. Smith | 2015-09-19 | 1 | -0/+8 |
|/ | | | | Documentation is still needed, I'll open an issue for that. | ||||
* | Issue #24619: More tests; fix nits in compiler.c | Yury Selivanov | 2015-07-22 | 1 | -1/+1 |
| | |||||
* | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 1 | -2/+2 |
| | |||||
* | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -6/+43 |
| | |||||
* | PEP 448: additional unpacking generalizations (closes #2292) | Benjamin Peterson | 2015-05-06 | 1 | -18/+8 |
| | | | | Patch by Neil Girdhar. | ||||
* | remove the concept of an unoptimized function scope from the compiler, since ↵ | Benjamin Peterson | 2015-04-28 | 1 | -16/+0 |
| | | | | it can't happen anymore | ||||
* | remove dead *-import checking code (closes #24049) | Benjamin Peterson | 2015-04-24 | 1 | -31/+0 |
| | |||||
* | merge 3.3 (#19098) | Benjamin Peterson | 2013-09-27 | 1 | -2/+6 |
|\ | |||||
| * | don't scale compiler stack frames if the recursion limit is huge (closes #19098) | Benjamin Peterson | 2013-09-27 | 1 | -2/+6 |
| | | |||||
| * | move definition to top of block | Benjamin Peterson | 2013-05-17 | 1 | -1/+2 |
| | | |||||
| * | complain about "global __class__" in a class body (closes #17983) | Benjamin Peterson | 2013-05-15 | 1 | -0/+6 |
| | | |||||
* | | Close #11619: The parser and the import machinery do not encode Unicode | Victor Stinner | 2013-08-26 | 1 | -15/+40 |
| | | | | | | | | filenames anymore on Windows. | ||||
* | | Issue #18408: ste_new() initialize all attributes before handling error | Victor Stinner | 2013-07-11 | 1 | -13/+9 |
| | | | | | | | | If an attribute is not initialized, the destructor can crash | ||||
* | | rather than passing locals to the class body, just execute the class body in ↵ | Benjamin Peterson | 2013-05-16 | 1 | -6/+1 |
| | | | | | | | | the proper environment | ||||
* | | hide the __class__ closure from the class body (#12370) | Benjamin Peterson | 2013-05-15 | 1 | -15/+19 |
| | | |||||
* | | unify some ast.argument's attrs; change Attribute column offset (closes #16795) | Benjamin Peterson | 2013-03-18 | 1 | -6/+6 |
| | | | | | | | | Patch from Sven Brauch. | ||||
* | | create NameConstant AST class for None, True, and False literals (closes #16619) | Benjamin Peterson | 2012-12-06 | 1 | -0/+1 |
| | | |||||
* | | Issue #16546: merge fix from 3.3 | Mark Dickinson | 2012-11-25 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Issue #16546: make ast.YieldFrom argument mandatory. | Mark Dickinson | 2012-11-25 | 1 | -6/+6 |
| | | |||||
* | | Issue #5765: Merge from 3.3 | Nick Coghlan | 2012-11-04 | 1 | -31/+70 |
|\ \ | |/ | |||||
| * | Issue #5765: Apply a hard recursion limit in the compiler | Nick Coghlan | 2012-11-04 | 1 | -29/+68 |
| | | | | | | | | | | | | | | Previously, excessive nesting in expressions would blow the stack and segfault the interpreter. Now, a hard limit based on the configured recursion limit and a hardcoded scaling factor is applied. | ||||
* | | point errors related to nonlocals and globals to the statement declaring ↵ | Benjamin Peterson | 2012-11-01 | 1 | -8/+49 |
|/ | | | | them (closes #10189) | ||||
* | check return value of _PyUnicode_AsString | Benjamin Peterson | 2012-10-31 | 1 | -2/+6 |
| | |||||
* | Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵ | Christian Heimes | 2012-09-12 | 1 | -1/+3 |
|\ | | | | | | | decref 'k' in too many error cases. | ||||
| * | Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to ↵ | Christian Heimes | 2012-09-12 | 1 | -1/+3 |
| | | | | | | | | decref 'k' in too many error cases. | ||||
* | | Partly revert ad3824a90261 and add comment about reference ownership | Christian Heimes | 2012-09-12 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Partly revert ad3824a90261 and add comment about reference ownership | Christian Heimes | 2012-09-12 | 1 | -2/+1 |
| | | |||||
* | | Closed reference leak of variable 'k' in function ste_new which wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+2 |
|\ \ | |/ | | | | | decrefed in error cases | ||||
| * | Closed reference leak of variable 'k' in function ste_new which wasn't ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+2 |
| | | | | | | | | decrefed in error cases | ||||
* | | Close #14857: fix regression in references to PEP 3135 implicit __class__ ↵ | Nick Coghlan | 2012-05-27 | 1 | -11/+8 |
| | | | | | | | | closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue | ||||
* | | make YieldFrom its own distinct from Yield (closes #13780) | Benjamin Peterson | 2012-01-14 | 1 | -2/+6 |
| | | |||||
* | | Implement PEP 380 - 'yield from' (closes #11682) | Nick Coghlan | 2012-01-13 | 1 | -19/+0 |
| | | |||||
* | | Issue #13343: Fix a SystemError when a lambda expression uses a global | Amaury Forgeot d'Arc | 2011-11-04 | 1 | -0/+3 |
|\ \ | |/ | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None) | ||||
| * | Issue #13343: Fix a SystemError when a lambda expression uses a global | Amaury Forgeot d'Arc | 2011-11-04 | 1 | -0/+3 |
| | | | | | | | | | | variable in the default value of a keyword-only argument: (lambda *, arg=GLOBAL_NAME: None) | ||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -4/+4 |
| | | |||||
* | | fix possibily uninitialized memory usage (closes #12474) | Benjamin Peterson | 2011-07-02 | 1 | -2/+2 |
| | | |||||
* | | store the current scope on the stack right away | Benjamin Peterson | 2011-06-30 | 1 | -21/+18 |
| | | |||||
* | | remove VISIT_*_IN_BLOCK macros | Benjamin Peterson | 2011-06-29 | 1 | -41/+10 |
| | | | | | | | | | | These are pointless because on error, all blocks will be finalized by symtable_dealloc. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-06-21 | 1 | -6/+6 |
|\ \ | |/ |