170 Commits (46874c26ee1fc752e2e6930efa1d223b2351edb8)

Author SHA1 Message Date
Anthony Sottile ec007cb43f Fix SystemError when nested function has annotation on positional-only argument (GH-17826) 6 years ago
Pablo Galindo fd5c414880
bpo-38469: Handle named expression scope with global/nonlocal keywords (GH-16755) 6 years ago
Nick Coghlan 06145230c8
bpo-37947: Avoid double-decrement in symtable recursion counting (GH-15593) 6 years ago
Pablo Galindo 4901dc46da
bpo-37954: Fix reference leak in the symtable (GH-15514) 6 years ago
Pablo Galindo 0e4ea16336
bpo-37947: Adjust correctly the recursion level in symtable for named expressions (GH-15499) 6 years ago
Nick Coghlan 5dbe0f59b7
bpo-37757: Disallow PEP 572 cases that expose implementation details (GH-15131) 6 years ago
Jeroen Demeyer 530f506ac9 bpo-36974: tp_print -> tp_vectorcall_offset and tp_reserved -> tp_as_async (GH-13464) 7 years ago
Pablo Galindo 8c77b8cb91
bpo-36540: PEP 570 -- Implementation (GH-12701) 7 years ago
Serhiy Storchaka d8b3a98c90
bpo-36187: Remove NamedStore. (GH-12167) 7 years ago
Serhiy Storchaka a24107b04c
bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112) 7 years ago
Guido van Rossum 522346d792
Complete switch cases in symtable.c; fixes bpo-35963 (GH-11821) 7 years ago
Emily Morehouse 8f59ee01be
bpo-35224: PEP 572 Implementation (#10497) 7 years ago
Victor Stinner 3bb183d7fb
bpo-35177, Python-ast.h: Fix "Yield" compiler warning (GH-10664) 7 years ago
Zackery Spytz ad65f15581 Add a missed PyErr_NoMemory() in symtable_new(). (GH-10576) 7 years ago
Victor Stinner 621cebe81b
bpo-35081: Rename internal headers (GH-10275) 7 years ago
Victor Stinner 5f2df88b63
bpo-35177: Add dependencies between header files (GH-10361) 7 years ago
Victor Stinner 50b48572d9
bpo-35081: Add _PyThreadState_GET() internal macro (GH-10266) 7 years ago
Victor Stinner 27e2d1f219
bpo-35081: Add pycore_ prefix to internal header files (GH-10263) 7 years ago
Pablo Galindo de2aea0ff0
bpo-34939: Allow annotated global names in module namespace (GH-9844) 7 years ago
Zackery Spytz fc439d20de Fix a possible decref of a borrowed reference in symtable.c. (GH-9786) 7 years ago
Serhiy Storchaka 3f22811fef
bpo-32892: Use ast.Constant instead of specific constant AST types. (GH-9445) 7 years ago
Ammar Askar 025eb98dc0 bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338) 7 years ago
Nitish Chandra 3a087beddd bpo-32836: Remove obsolete code from symtable pass (GH-5680) 8 years ago
Serhiy Storchaka 07ca9afaa8
bpo-10544: Disallow "yield" in comprehensions and generator expressions. (GH-4564) 8 years ago
Serhiy Storchaka 73a7e9b10b bpo-10544: Deprecate "yield" in comprehensions and generator expressions. (GH-4579) 8 years ago
Ivan Levkivskyi 8c83c23fa3 bpo-28936: Detect lexically first syntax error first (#4097) 8 years ago
Eric Snow 2ebc5ce42a bpo-30860: Consolidate stateful runtime globals. (#3397) 8 years ago
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