945 Commits (53114ffef1d4facf9aa5545e711abbbda66f672a)

Author SHA1 Message Date
Matthew Suozzo 75a06f067b
bpo-43798: Add source location attributes to alias (GH-25324) 5 years ago
Pablo Galindo d00a449d6d
Simplify _PyPegen_fill_token in pegen.c (GH-25295) 5 years ago
Pablo Galindo 58bafe42ab
Sanitize macros and debug functions in pegen.c (GH-25291) 5 years ago
Pablo Galindo 4f642dae4e
Break down some complex functions in pegen.c for readability (GH-25292) 5 years ago
Erlend Egeberg Aasland c0e11a3ceb
Fix possible refleak involving _PyArena_AddPyObject (GH-25289) 5 years ago
Victor Stinner d27f8d2e07
bpo-43244: Rename pycore_ast.h functions to _PyAST_xxx() (GH-25252) 5 years ago
Victor Stinner d36d6a9c18
bpo-43244: Remove Yield macro from pycore_ast.h (GH-25243) 5 years ago
Inada Naoki 8bbfeb3330
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25142) 5 years ago
Pablo Galindo 92a02c1f7e
Fix tokenizer error when raw decoding null bytes (GH-25080) 5 years ago
Pablo Galindo 261a452a13
bpo-25643: Refactor the C tokenizer into smaller, logical units (GH-25050) 5 years ago
Pablo Galindo 8efad61963
bpo-41064: Improve syntax error for invalid usage of '**' in f-strings (GH-25006) 5 years ago
Victor Stinner 8370e07e1e
bpo-43244: Remove the pyarena.h header (GH-25007) 5 years ago
Victor Stinner 57364ce34e
bpo-43244: Remove parser_interface.h header file (GH-25001) 5 years ago
Victor Stinner 94faa0724f
bpo-43244: Remove ast.h, asdl.h, Python-ast.h headers (GH-24933) 5 years ago
Pablo Galindo 96eeff5162
bpo-43555: Report the column offset for invalid line continuation character (GH-24939) 5 years ago
Pablo Galindo 123ff266cd
bpo-43591: Fix error location in interactive mode for errors at the end of the line (GH-24973) 5 years ago
Victor Stinner eec8e61992
bpo-43244: Remove the PyAST_Validate() function (GH-24911) 5 years ago
Victor Stinner 6af528b4ab
bpo-43244: Fix test_peg_generators on Windows (GH-24913) 5 years ago
Victor Stinner e0bf70d08c
bpo-43244: Fix test_peg_generator for PyAST_Validate() (GH-24912) 5 years ago
Pablo Galindo 08fb8ac99a
bpo-42128: Add 'missing :' syntax error message to match statements (GH-24733) 5 years ago
Victor Stinner b4536e1c6a
bpo-43244: Rename pycore_ast.h to pycore_ast_state.h (GH-24907) 5 years ago
Pablo Galindo cd8dcbc851
bpo-43410: Fix crash in the parser when producing syntax errors when reading from stdin (GH-24763) 5 years ago
Jozef Grajciar c994ffe695
bpo-11717: fix ssize_t redefinition error when targeting 32bit Windows app (GH-24479) 5 years ago
Brandt Bucher 145bf269df
bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917) 5 years ago
Nicholas Sim 4a6bf276ed
bpo-35134: Move non-limited C API files to Include/cpython/ (GH-24561) 5 years ago
Nicholas Sim 366dc3a135
bpo-35134: Move Include/{pyarena.h,pyctype.h} to Include/cpython/ (GH-24550) 5 years ago
Pablo Galindo 206cbdab16
bpo-43149: Improve error message for exception group without parentheses (GH-24467) 5 years ago
Pablo Galindo d4e6ed7e5f
bpo-43121: Fix incorrect SyntaxError message for missing comma (GH-24436) 5 years ago
Pablo Galindo 58fb156edd
bpo-42997: Improve error message for missing : before suites (GH-24292) 5 years ago
Pablo Galindo 835f14ff8e
bpo-43017: Improve error message for unparenthesised tuples in comprehensions (GH24314) 5 years ago
Pablo Galindo 4090151816
bpo-42986: Fix parser crash when reporting syntax errors in f-string with newlines (GH-24279) 5 years ago
numbermaniac bf9239bb61
Remove full stop from a bytes-related SyntaxError message (GH-24300) 5 years ago
Batuhan Taskaya a698d52c39
bpo-40176: Improve error messages for unclosed string literals (GH-19346) 5 years ago
Pablo Galindo c3f167d7b2
bpo-42864: Simplify the tokenizer exceptions after generic SyntaxError (GH-24273) 5 years ago
Pablo Galindo ae7d3cd980
bpo-42864: Fix compiler warning in the tokenizer with the new paren stack for column numbers (GH-24266) 5 years ago
Pablo Galindo d6d6371447
bpo-42864: Improve error messages regarding unclosed parentheses (GH-24161) 5 years ago
Lysandros Nikolaou e5fe509054
bpo-42827: Fix crash on SyntaxError in multiline expressions (GH-24140) 5 years ago
Lysandros Nikolaou 07dcd86cee
bpo-42860: Remove type error from grammar (GH-24156) 5 years ago
Pablo Galindo bd2728b1e8
bpo-42806: Fix ast locations of f-strings inside parentheses (GH-24067) 5 years ago
Lysandros Nikolaou 2ea320dddd
bpo-40631: Disallow single parenthesized star target (GH-24027) 5 years ago
Pablo Galindo 43c4fb6c90
bpo-30858: Improve error location for expressions with assignments (GH-23753) 5 years ago
Victor Stinner 00d7abd7ef
bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586) 5 years ago
Pablo Galindo 9bdc40ee3e
Refactor the grammar to match the language specification docs (GH-23574) 5 years ago
Christian Heimes 07f2adedf0
bpo-40998: Address compiler warnings found by ubsan (GH-20929) 5 years ago
Pablo Galindo b0aba1fcdc
bpo-42381: Allow walrus in set literals and set comprehensions (GH-23332) 5 years ago
Lysandros Nikolaou cae60187cf
bpo-42316: Allow unparenthesized walrus operator in indexes (GH-23317) 5 years ago
Lysandros Nikolaou cb3e5ed071
bpo-42374: Allow unparenthesized walrus in genexps (GH-23319) 5 years ago
Victor Stinner 18ce7f1d0a
bpo-1635741: _ast uses PyModule_AddObjectRef() (GH-23146) 5 years ago
Victor Stinner fd957c124c
bpo-41796: Call _PyAST_Fini() earlier to fix a leak (GH-23131) 5 years ago
Victor Stinner 5cf4782a26
bpo-41796: Make _ast module state per interpreter (GH-23024) 5 years ago