| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | gh-102416: Do not memoize incorrectly loop rules in the parser (#102467) | Pablo Galindo Salgado | 2023-03-06 | 1 | -216/+0 |
| | | |||||
| * | gh-101046: Fix a potential memory leak in the parser when raising ↵ | Pablo Galindo Salgado | 2023-01-16 | 1 | -0/+108 |
| | | | | | MemoryError (#101051) | ||||
| * | gh-90994: Improve error messages upon call arguments syntax errors (GH-96893) | Lysandros Nikolaou | 2022-11-20 | 1 | -1149/+1395 |
| | | |||||
| * | gh-99211: Point to except/except* on syntax errors when mixing them (GH-99215) | Lysandros Nikolaou | 2022-11-20 | 1 | -671/+713 |
| | | | | Automerge-Triggered-By: GH:lysnikolaou | ||||
| * | gh-99153: set location on SyntaxError for try with both except and except* ↵ | Irit Katriel | 2022-11-06 | 1 | -3/+3 |
| | | | | | (GH-99160) | ||||
| * | gh-98931: Improve error message when the user types 'import x from y' ↵ | Pablo Galindo Salgado | 2022-11-01 | 1 | -391/+465 |
| | | | | | instead of 'from y import x' (#98932) | ||||
| * | gh-91210: Improve error message when non-default param follows default ↵ | Lysandros Nikolaou | 2022-09-17 | 1 | -345/+353 |
| | | | | | | | (GH-95933) - Improve error message when parameter without a default follows one with a default - Show same error message when positional-only params precede the default/non-default sequence | ||||
| * | gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (#96588) | Nikita Sobolev | 2022-09-05 | 1 | -1/+1 |
| | | |||||
| * | gh-94996: Disallow lambda pos only params with feature_version < (3, 8) ↵ | Shantanu | 2022-08-12 | 1 | -2/+2 |
| | | | | | (GH-95934) | ||||
| * | gh-94996: Disallow parsing pos only params with feature_version < (3, 8) ↵ | Shantanu | 2022-08-12 | 1 | -2/+2 |
| | | | | | (GH-94997) | ||||
| * | gh-94949: Disallow parsing parenthesised ctx mgr with old feature_version ↵ | Shantanu | 2022-07-18 | 1 | -1/+1 |
| | | | | | | | | | | | | (#94950) * gh-94949: Disallow parsing parenthesised ctx manager with old feature_version * 📜🤖 Added by blurb_it. * Allow it with feature_version=(3, 9) as well Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
| * | gh-94947: Disallow parsing walrus with feature_version < (3, 8) (#94948) | Shantanu | 2022-07-18 | 1 | -1/+1 |
| | | | | | | | | | | * gh-94947: Disallow parsing walrus with feature_version < (3, 8) * oops, commit the parser * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
| * | gh-94192: Fix error for dictionary literals with invalid expression as ↵ | wookie184 | 2022-06-26 | 1 | -261/+326 |
| | | | | | | | | value. (#94304) * Fix error for dictionary literals with invalid expression as value. * Remove trailing whitespace | ||||
| * | gh-92858: Improve error message for some suites with syntax error before ':' ↵ | wookie184 | 2022-06-23 | 1 | -362/+500 |
| | | | | | (#92894) | ||||
| * | gh-93671: Avoid exponential backtracking in deeply nested sequence patterns ↵ | Pablo Galindo Salgado | 2022-06-10 | 1 | -0/+10 |
| | | | | | | in match statements (GH-93680) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
| * | gh-93103: Parser uses PyConfig.parser_debug instead of Py_DebugFlag (#93106) | Victor Stinner | 2022-05-24 | 1 | -1/+1 |
| | | | | | | | | * Replace deprecated Py_DebugFlag with PyConfig.parser_debug in the parser. * Add Parser.debug member. * Add tok_state.debug member. * Py_FrozenMain(): Replace Py_VerboseFlag with PyConfig.verbose. | ||||
| * | gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803) | Christian Heimes | 2022-05-19 | 1 | -1/+5 |
| | | |||||
| * | bpo-47212: Improve error messages for un-parenthesized generator expressions ↵ | Matthieu Dartiailh | 2022-04-05 | 1 | -3/+3 |
| | | | | | (GH-32302) | ||||
| * | bpo-43224: Implement PEP 646 grammar changes (GH-31018) | Matthew Rahtz | 2022-03-26 | 1 | -2101/+2465 |
| | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
| * | bpo-46838: Syntax error improvements for function definitions (GH-31590) | Pablo Galindo Salgado | 2022-03-22 | 1 | -867/+3150 |
| | | |||||
| * | Allow the parser to avoid nested processing of invalid rules (GH-31252) | Pablo Galindo Salgado | 2022-02-10 | 1 | -1042/+1032 |
| | | |||||
| * | bpo-46707: Avoid potential exponential backtracking in some syntax errors ↵ | Pablo Galindo Salgado | 2022-02-10 | 1 | -1015/+1020 |
| | | | | | (GH-31241) | ||||
| * | bpo-46110: Restore commit e9898bf153d26059261ffef11f7643ae991e2a4c | Pablo Galindo Salgado | 2022-01-03 | 1 | -3193/+4580 |
| | | | | This restores commit e9898bf153d26059261ffef11f7643ae991e2a4c . | ||||
| * | Revert "bpo-46110: Add a recursion check to avoid stack overflow in the PEG ↵ | Pablo Galindo Salgado | 2022-01-03 | 1 | -4580/+3193 |
| | | | | | | parser (GH-30177)" (GH-30363) This reverts commit e9898bf153d26059261ffef11f7643ae991e2a4c temporarily as we want to confirm if this commit is the cause of a slowdown at startup time. | ||||
| * | bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser ↵ | Pablo Galindo Salgado | 2021-12-20 | 1 | -3193/+4580 |
| | | | | | | (GH-30177) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> | ||||
| * | bpo-45292: [PEP-654] add except* (GH-29581) | Irit Katriel | 2021-12-14 | 1 | -1776/+2720 |
| | | |||||
| * | bpo-45866: pegen strips directory of "generated from" header (GH-29777) | Victor Stinner | 2021-11-26 | 1 | -1/+1 |
| | | | | | | "make regen-all" now produces the same output when run from a directory other than the source tree: when building Python out of the source tree. | ||||
| * | bpo-45727: Only trigger the 'did you forgot a comma' error suggestion if ↵ | Pablo Galindo Salgado | 2021-11-24 | 1 | -1/+1 |
| | | | | | inside parentheses (GH-29757) | ||||
| * | bpo-45450: Improve syntax error for parenthesized arguments (GH-28906) | Pablo Galindo Salgado | 2021-11-20 | 1 | -445/+849 |
| | | |||||
| * | bpo-45727: Make the syntax error for missing comma more consistent (GH-29427) | Pablo Galindo Salgado | 2021-11-19 | 1 | -21/+21 |
| | | |||||
| * | bpo-45764: improve error message when missing '(' after 'def' (GH-29484) | Carl Friedrich Bolz-Tereick | 2021-11-09 | 1 | -12/+12 |
| | | | | | | to achieve this, change the grammar to expect the '(' token after 'def' NAME. Automerge-Triggered-By: GH:pablogsal | ||||
| * | bpo-45716: Improve the error message when using True/False/None as keywords ↵ | Pablo Galindo Salgado | 2021-11-05 | 1 | -689/+795 |
| | | | | | in a call (GH-29413) | ||||
| * | bpo-44257: fix "assigment_expr" typo + regenerate the grammar, and remove ↵ | wim glenn | 2021-11-03 | 1 | -60/+60 |
| | | | | | | | unused imports (GH-29393) Co-authored-by: Wim Glenn <wglenn@jumptrading.com> | ||||
| * | bpo-45494: Fix parser crash when reporting errors involving invalid ↵ | Pablo Galindo Salgado | 2021-10-19 | 1 | -120/+120 |
| | | | | | | | | | | | | | continuation characters (GH-28993) There are two errors that this commit fixes: * The parser was not correctly computing the offset and the string source for E_LINECONT errors due to the incorrect usage of strtok(). * The parser was not correctly unwinding the call stack when a tokenizer exception happened in rules involving optionals ('?', [...]) as we always make them return valid results by using the comma operator. We need to check first if we don't have an error before continuing. | ||||
| * | bpo-43914: Correctly highlight SyntaxError exceptions for invalid generator ↵ | Pablo Galindo Salgado | 2021-09-27 | 1 | -3/+3 |
| | | | | | expression in function calls (GH-28576) | ||||
| * | Extract visitors from the grammar nodes and call makers in the peg generator ↵ | Pablo Galindo Salgado | 2021-09-05 | 1 | -167/+167 |
| | | | | | | (GH-28172) Simplify the peg generator logic by extracting as much visitors as possible to disentangle the flow and separate concerns. | ||||
| * | bpo-44947: Refine the syntax error for trailing commas in import statements ↵ | Pablo Galindo Salgado | 2021-08-18 | 1 | -5/+8 |
| | | | | | (GH-27814) | ||||
| * | Update pegen to use the latest upstream developments (GH-27586) | Pablo Galindo Salgado | 2021-08-12 | 1 | -41/+41 |
| | | |||||
| * | bpo-44838: Refine the custom syntax errors for invalid 'if' expressions ↵ | Pablo Galindo Salgado | 2021-08-05 | 1 | -553/+610 |
| | | | | | (GH-27615) | ||||
| * | bpo-44792: Improve syntax errors for if expressions (GH-27506) | Miguel Brito | 2021-08-02 | 1 | -0/+33 |
| | | |||||
| * | bpo-34013: Don't consider a grouped expression when reporting legacy print ↵ | Pablo Galindo Salgado | 2021-08-01 | 1 | -5/+7 |
| | | | | | syntax errors (GH-27521) | ||||
| * | Divide the grammar into sections to improve readability (GH-27502) | Pablo Galindo Salgado | 2021-07-31 | 1 | -6585/+6583 |
| | | |||||
| * | bpo-34013: Move the Python 2 hints from the exception constructor to the ↵ | Pablo Galindo Salgado | 2021-07-27 | 1 | -7/+7 |
| | | | | | parser (GH-27392) | ||||
| * | bpo-34013: Generalize the invalid legacy statement error message (GH-27389) | Pablo Galindo Salgado | 2021-07-27 | 1 | -243/+309 |
| | | |||||
| * | Remove unnecessary 'invalid_primary' rule in the parser (GH-27186) | Pablo Galindo Salgado | 2021-07-16 | 1 | -304/+237 |
| | | |||||
| * | bpo-44456: Improve the syntax error when mixing keyword and positional ↵ | Pablo Galindo | 2021-06-24 | 1 | -464/+628 |
| | | | | | patterns (GH-26793) | ||||
| * | bpo-44368: Improve syntax errors with invalid as pattern targets (GH-26632) | Pablo Galindo | 2021-06-10 | 1 | -213/+313 |
| | | |||||
| * | bpo-44385: Remove unused grammar rules (GH-26655) | Lysandros Nikolaou | 2021-06-10 | 1 | -1256/+791 |
| | | | | Automerge-Triggered-By: GH:lysnikolaou | ||||
| * | bpo-44345: Fix 'generated by' comment in parser.c (GH-26615) | Akira Nonaka | 2021-06-09 | 1 | -1/+1 |
| | | |||||
| * | bpo-44305: Improve syntax error for try blocks without except or finally ↵ | Pablo Galindo | 2021-06-03 | 1 | -269/+358 |
| | | | | | (GH-26523) | ||||
