143 Commits (dda44682c65bfb90854720e5c36e1a76d131697b)

Author SHA1 Message Date
Serhiy Storchaka f4934ea77d Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString. 9 years ago
Christian Heimes 517507c6d5 Issue #28100: Refactor error messages, patch by Ivan Levkivskyi 9 years ago
Yury Selivanov 52c4e7cc84 Issue #28008: Implement PEP 530 -- asynchronous comprehensions. 9 years ago
Guido van Rossum 6cff8744a0 Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal. 9 years ago
Yury Selivanov eb6364557f Issue #28003: Implement PEP 525 -- Asynchronous Generators. 9 years ago
Yury Selivanov f8cb8a16a3 Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. 9 years ago
Christian Heimes 45af0c83da Fix potential NULL pointer dereference in update_symbols() 9 years ago
Martin Panter 3ee6270262 Fix typos in code comment and documentation 10 years ago
Victor Stinner f2c1aa1661 Add ast.Constant 10 years ago
Benjamin Peterson 3cc8f4b969 make recording and reporting errors and nonlocal and global directives more robust (closes #25973) 10 years ago
Serhiy Storchaka ef1585eb9a Issue #25923: Added more const qualifiers to signatures of static and private functions. 10 years ago
Eric V. Smith 235a6f0984 Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that. 10 years ago
Yury Selivanov b7666a3093 Issue #24619: More tests; fix nits in compiler.c 11 years ago
Yury Selivanov f488fb422a Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 11 years ago
Yury Selivanov 7544508f02 PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 11 years ago
Benjamin Peterson 025e9ebd0a PEP 448: additional unpacking generalizations (closes #2292) 11 years ago
Benjamin Peterson 1dfd247c1b remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore 11 years ago
Benjamin Peterson 9bdd61338d remove dead *-import checking code (closes #24049) 11 years ago
Benjamin Peterson 305e5aac85 don't scale compiler stack frames if the recursion limit is huge (closes #19098) 12 years ago
Victor Stinner 14e461d5b9 Close #11619: The parser and the import machinery do not encode Unicode 13 years ago
Victor Stinner 9a4fb66966 Issue #18408: ste_new() initialize all attributes before handling error 13 years ago
Benjamin Peterson e2135c6158 move definition to top of block 13 years ago
Benjamin Peterson e8e14591eb rather than passing locals to the class body, just execute the class body in the proper environment 13 years ago
Benjamin Peterson 1e93b06007 complain about "global __class__" in a class body (closes #17983) 13 years ago
Benjamin Peterson 312595ce3a hide the __class__ closure from the class body (#12370) 13 years ago
Benjamin Peterson cda75be02a unify some ast.argument's attrs; change Attribute column offset (closes #16795) 13 years ago
Benjamin Peterson 442f20996d create NameConstant AST class for None, True, and False literals (closes #16619) 13 years ago
Mark Dickinson ded35aeb9d Issue #16546: make ast.YieldFrom argument mandatory. 13 years ago
Nick Coghlan aab9c2b2ea Issue #5765: Apply a hard recursion limit in the compiler 13 years ago
Benjamin Peterson d9c8702c0f point errors related to nonlocals and globals to the statement declaring them (closes #10189) 13 years ago
Benjamin Peterson e132f527c9 check return value of _PyUnicode_AsString 13 years ago
Christian Heimes dfaf90da9c Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases. 13 years ago
Christian Heimes 55ad6515c9 Cleanup 'k' when the creation of PySTEntryObject fails. ad3824a90261 used to decref 'k' in too many error cases. 13 years ago
Christian Heimes 65a0141e14 Partly revert ad3824a90261 and add comment about reference ownership 13 years ago
Christian Heimes 1526582df6 Partly revert ad3824a90261 and add comment about reference ownership 13 years ago
Christian Heimes 837e53a7c2 Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases 13 years ago
Christian Heimes 8c1bce00d2 Closed reference leak of variable 'k' in function ste_new which wasn't decrefed in error cases 13 years ago
Nick Coghlan 0b43bcf528 Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue 14 years ago
Benjamin Peterson 527c622926 make YieldFrom its own distinct from Yield (closes #13780) 14 years ago
Nick Coghlan 1f7ce62bd6 Implement PEP 380 - 'yield from' (closes #11682) 14 years ago
Amaury Forgeot d'Arc 97c1bef6a4 Issue #13343: Fix a SystemError when a lambda expression uses a global 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 14 years ago
Benjamin Peterson 9d872e19aa fix possibily uninitialized memory usage (closes #12474) 15 years ago
Benjamin Peterson 609da58ae5 store the current scope on the stack right away 15 years ago
Benjamin Peterson c2575d55cd remove VISIT_*_IN_BLOCK macros 15 years ago
Benjamin Peterson b7149cad04 fix indentation 15 years ago
Benjamin Peterson f5ff22329b use a invalid name for the __class__ closure for super() (closes #12370) 15 years ago
Benjamin Peterson 43af12b0b4 unify TryExcept and TryFinally (closes #12199) 15 years ago
Benjamin Peterson bf1bbc1452 reflect with statements with multiple items in the AST (closes #12106) 15 years ago
Eli Bendersky dd97fbb2dc Issue #9904: fix and clarify some comments + fix indentation in symtable code 15 years ago