886 Commits (4e0ce820586e93cfcefb16c2a3df8eaefc54cbca)

Author SHA1 Message Date
Pablo Galindo a5634c4067
bpo-41746: Add type information to asdl_seq objects (GH-22223) 5 years ago
Victor Stinner e5fbe0cbd4
bpo-41631: _ast module uses again a global state (#21961) 5 years ago
Pablo Galindo 315a61f7a9
bpo-41697: Correctly handle KeywordOrStarred when parsing arguments in the parser (GH-22077) 5 years ago
Pablo Galindo 4a97b1517a
bpo-41690: Use a loop to collect args in the parser instead of recursion (GH-22053) 5 years ago
Victor Stinner bde48fd811
bpo-38156: Fix compiler warning in PyOS_StdioReadline() (GH-21721) 6 years ago
Benjamin Peterson a74eea238f
closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569) 6 years ago
Pablo Galindo 1332226b32
Validate the AST produced by the parser in debug mode (GH-21643) 6 years ago
Eric V. Smith 0275e0452a
Fix trivial typo in the PEG string parser (GH-21508) 6 years ago
Benjamin Peterson 2ad7e9c011
Fix possibly-unitialized warning in string_parser.c. (GH-21503) 6 years ago
Lysandros Nikolaou 782f44b8fb
bpo-41215: Make assertion in the new parser more strict (GH-21364) 6 years ago
Pablo Galindo 1ac0cbca36
bpo-41215: Don't use NULL by default in the PEG parser keyword list (GH-21355) 6 years ago
Victor Stinner 1f76453173
bpo-41204: Fix compiler warning in ast_type_init() (GH-21307) 6 years ago
Victor Stinner b1cc6ba73a
bpo-41194: Convert _ast extension to PEP 489 (GH-21293) 6 years ago
Victor Stinner 91e1bc18bd
bpo-41194: The _ast module cannot be loaded more than once (GH-21290) 6 years ago
Victor Stinner 74419f0c64
bpo-41194: Pass module state in Python-ast.c (GH-21284) 6 years ago
Guido van Rossum 9d197c7d48
bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags (#21021) 6 years ago
Lysandros Nikolaou 1f0f4abb11
bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054) 6 years ago
Batuhan Taskaya c8f29ad986
bpo-40769: Allow extra surrounding parentheses for invalid annotated assignment rule (GH-20387) 6 years ago
Lysandros Nikolaou 6dcbc2422d
bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) 6 years ago
Lysandros Nikolaou 2e0a920e9e
bpo-41084: Adjust message when an f-string expression causes a SyntaxError (GH-21084) 6 years ago
Lysandros Nikolaou 4b85e60601
bpo-41119: Output correct error message for list/tuple followed by colon (GH-21160) 6 years ago
Lysandros Nikolaou 564cd18767
bpo-40939: Rename PyPegen* functions to PyParser* (GH-21016) 6 years ago
Lysandros Nikolaou 6c4e0bd974
bpo-41060: Avoid SEGFAULT when calling GET_INVALID_TARGET in the grammar (GH-21020) 6 years ago
Lysandros Nikolaou 314858e276
bpo-40939: Remove the old parser (Part 2) (GH-21005) 6 years ago
Lysandros Nikolaou 861efc6e8f
bpo-40958: Avoid 'possible loss of data' warning on Windows (GH-20970) 6 years ago
Lysandros Nikolaou 01ece63d42
bpo-40334: Produce better error messages on invalid targets (GH-20106) 6 years ago
Pablo Galindo 51c5896b62
bpo-40958: Avoid buffer overflow in the parser when indexing the current line (GH-20875) 6 years ago
Pablo Galindo e0bec69854
Remove old comment in string_parser.c (GH-20906) 6 years ago
Victor Stinner e822e37946
bpo-36020: Remove snprintf macro in pyerrors.h (GH-20889) 6 years ago
Pablo Galindo fb61c42361
Improve readability and style in parser files (GH-20884) 6 years ago
Pablo Galindo 1ed83adb0e
bpo-40939: Remove the old parser (GH-20768) 6 years ago
Lysandros Nikolaou bcd7deed91
bpo-40939: Remove PEG parser easter egg (__new_parser__) (#20802) 6 years ago
Lysandros Nikolaou 896f4cf63f
bpo-40847: Consider a line with only a LINECONT a blank line (GH-20769) 6 years ago
Victor Stinner 1bcc32f062
bpo-39465: Use _PyInterpreterState_GET() (GH-20788) 6 years ago
Pablo Galindo c6483c9896
Raise specialised syntax error for invalid lambda parameters (GH-20776) 6 years ago
Pablo Galindo 9f495908c5
bpo-40903: Handle multiple '=' in invalid assignment rules in the PEG parser (GH-20697) 6 years ago
Pablo Galindo 972ab03276
bpo-40904: Fix segfault in the new parser with f-string containing yield statements with no value (GH-20701) 6 years ago
Pablo Galindo 2e6593db00
bpo-40880: Fix invalid read in newline_in_string in pegen.c (#20666) 6 years ago
Pablo Galindo a54096e305
bpo-40883: Fix memory leak in fstring_compile_expr in parse_string.c (GH-20667) 6 years ago
Victor Stinner fa7ab6aa0f
bpo-40826: Add _PyOS_InterruptOccurred(tstate) function (GH-20599) 6 years ago
Victor Stinner c353764fd5
bpo-40826: Fix GIL usage in PyOS_Readline() (GH-20579) 6 years ago
Shantanu c116c94ff1
bpo-40614: Respect feature version for f-string debug expressions (GH-20196) 6 years ago
Lysandros Nikolaou 526e23f153
Refactor error handling code in Parser/pegen/pegen.c (GH-20440) 6 years ago
Pablo Galindo 1cf15af9a6 bpo-40217: Ensure Py_VISIT(Py_TYPE(self)) is always called for PyType_FromSpec types (reverts GH-19414) (GH-20264) 6 years ago
Pablo Galindo 404b23b85b
Fix lookahead of soft keywords in the PEG parser (GH-20436) 6 years ago
Guido van Rossum b45af1a569
Add soft keywords (GH-20370) 6 years ago
Ammar Askar a2bbedc8b1
Fix peg_generator compiler warnings under MSVC (GH-20405) 6 years ago
Lysandros Nikolaou f7b1e46156
bpo-38964: Print correct filename on a SyntaxError in an fstring (GH-20399) 6 years ago
Pablo Galindo deb4355a37
bpo-40750: Do not expand the new parser debug flags if Py_BUILD_CORE is not defined (GH-20393) 6 years ago
Pablo Galindo 800a35c623
bpo-40750: Support -d flag in the new parser (GH-20340) 6 years ago