122 Commits (575596e19a8f0be382f08a2dc9190100ff811b97)

Author SHA1 Message Date
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
Benjamin Peterson 4d3d08f961 Merged revisions 85757 via svnmerge from 15 years ago
Benjamin Peterson 045bbcdc8e Merged revisions 85757 via svnmerge from 15 years ago
Benjamin Peterson b8ffb60ec6 fix uninitialized struct member #10152 15 years ago
Benjamin Peterson f76942d6bf Merged revisions 85562 via svnmerge from 15 years ago
Benjamin Peterson e9633491ca Merged revisions 85562 via svnmerge from 15 years ago
Benjamin Peterson 230b20684f don't identify the toplevel namespace by name #9997 15 years ago
Benjamin Peterson d4efd9eb15 add column offset to all syntax errors 15 years ago
Benjamin Peterson 20f9c3c50f revert unintended changes 16 years ago
Benjamin Peterson 013783c529 move test_trace.py so as not to conflict with future tests for the trace module 16 years ago
Benjamin Peterson c629d51ea9 Merged revisions 81906 via svnmerge from 16 years ago
Benjamin Peterson c6660cf4d6 different spellings are just unacceptable 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from 16 years ago
Antoine Pitrou c83ea137d7 Untabify C files. Will watch buildbots. 16 years ago
Alexandre Vassalotti b646547bb4 Issue #2333: Backport set and dict comprehensions syntax. 16 years ago
Alexandre Vassalotti ee936a2130 Issue #2335: Backport set literals syntax from Python 3.x. 16 years ago
Benjamin Peterson db149ac59b Merged revisions 76425 via svnmerge from 16 years ago