| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | gh-142236: Improve error location for missing comma in string concatenations ↵ | Pablo Galindo Salgado | 2025-12-11 | 1 | -2/+1 |
| | | | | | (#142330) | ||||
| * | gh-138944: Fix `SyntaxError` message for invalid syntax following valid ↵ | Brian Schubert | 2025-10-26 | 1 | -2/+2 |
| | | | | | import-as statement (#138945) | ||||
| * | gh-138857: Improve error message for `case` outside of `match` (#138858) | sobolevn | 2025-10-24 | 1 | -0/+4 |
| | | | | | | | | * gh-138857: Improve error message for `case` outside of `match` --------- Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com> | ||||
| * | gh-140253: Improve the syntax error from an ill-positioned double-star ↵ | Bartosz Sławecki | 2025-10-22 | 1 | -0/+5 |
| | | | | | subpattern (#140254) | ||||
| * | gh-138716: Fix `assert a := b` syntax error message (#138718) | sobolevn | 2025-09-10 | 1 | -0/+8 |
| | | |||||
| * | gh-136616: Improve `assert` syntax error messages (#136653) | sobolevn | 2025-09-09 | 1 | -1/+14 |
| | | |||||
| * | gh-137078: Fix keyword typo recognition when executed over files (#137079) | Pablo Galindo Salgado | 2025-08-15 | 1 | -2/+4 |
| | | |||||
| * | gh-132661: Disallow `Template`/`str` concatenation after PEP 750 spec update ↵ | Dave Peck | 2025-07-21 | 1 | -1/+10 |
| | | | | | | | | (#135996) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> | ||||
| * | gh-135422: Fix regression in `SyntaxError` messages after #134036 (#135423) | sobolevn | 2025-06-30 | 1 | -1/+2 |
| | | |||||
| * | gh-134036: Improve error messages for invalid `raise` statements (#134077) | sobolevn | 2025-06-06 | 1 | -0/+6 |
| | | |||||
| * | gh-133999: Fix `except` parsing regression in 3.14 (#134035) | sobolevn | 2025-05-17 | 1 | -2/+2 |
| | | |||||
| * | Remove trailing whitespace from python.gram (#133858) | Rafael Fontenelle | 2025-05-14 | 1 | -15/+15 |
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> | ||||
| * | gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382) | Stan Ulbrych | 2025-05-10 | 1 | -14/+14 |
| | | | | The right term is "parameters". | ||||
| * | gh-133194: Fix regression with PEP 758 parsing on older `feature_version` ↵ | sobolevn | 2025-05-03 | 1 | -7/+11 |
| | | | | | | (#133289) gh-133192: Fix regression with PEP 758 parsing on older `feature_version` | ||||
| * | gh-123539: Improve SyntaxError msg for `import as` with not a name (#123629) | sobolevn | 2025-05-02 | 1 | -6/+16 |
| | | |||||
| * | gh-133196: Guard PEP 750 grammar with `CHECK_VERSION` (#133225) | sobolevn | 2025-05-01 | 1 | -1/+6 |
| | | |||||
| * | gh-133194: Add `CHECK_VERSION` to new PEP758 grammar (#133195) | sobolevn | 2025-04-30 | 1 | -2/+10 |
| | | |||||
| * | gh-132661: Implement PEP 750 (#132662) | Lysandros Nikolaou | 2025-04-30 | 1 | -8/+51 |
| | | | | | | | | | | | | | | Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Wingy <git@wingysam.xyz> Co-authored-by: Koudai Aono <koxudaxi@gmail.com> Co-authored-by: Dave Peck <davepeck@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Paul Everitt <pauleveritt@me.com> Co-authored-by: sobolevn <mail@sobolevn.me> | ||||
| * | Remove trailing whitespace from python.gram (#133175) | Rafael Fontenelle | 2025-04-30 | 1 | -5/+5 |
| | | |||||
| * | gh-129858: Special syntax error for `elif` block after `else` (#129902) | Steele Farnsworth | 2025-04-25 | 1 | -0/+1 |
| | | |||||
| * | gh-132449: Improve syntax error messages for keywords with typos (#132450) | Pablo Galindo Salgado | 2025-04-22 | 1 | -3/+9 |
| | | | | | Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
| * | gh-131831: Implement PEP 758 – Allow except and except* expressions ↵ | Pablo Galindo Salgado | 2025-04-01 | 1 | -8/+12 |
| | | | | | without parentheses (#131833) | ||||
| * | gh-129515: Clarify syntax error messages for conditional expressions (#129880) | Sergey Miryanov | 2025-02-18 | 1 | -3/+16 |
| | | | | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | ||||
| * | gh-125331: Allow the parser to activate future imports on the fly (#125482) | Pablo Galindo Salgado | 2025-02-14 | 1 | -1/+1 |
| | | |||||
| * | gh-88535: Improve syntax error for wrongly closed strings (#26633) | Pablo Galindo Salgado | 2025-02-13 | 1 | -0/+3 |
| | | |||||
| * | gh-122951: Simplify the grammar of the assignment rule (#124998) | Rigel Di Scala | 2024-10-06 | 1 | -2/+2 |
| | | |||||
| * | gh-123562: Improve `SyntaxError` message for `case ... as a.b` (#123563) | sobolevn | 2024-09-02 | 1 | -1/+3 |
| | | |||||
| * | gh-123440: Improve error message for `except as` used with not a name (#123442) | sobolevn | 2024-08-30 | 1 | -3/+13 |
| | | |||||
| * | gh-119724: Revert "bpo-45759: Better error messages for non-matching ↵ | Petr Viktorin | 2024-06-04 | 1 | -5/+0 |
| | | | | | | | 'elif'/'else' statements (#29513)" (#119974) This reverts commit 1c8f912ebdfdb146cd7dd2d7a3a67d2c5045ddb0. | ||||
| * | gh-118235: Move RAISE_SYNTAX_ERROR actions to invalid rules and make sure ↵ | Petr Viktorin | 2024-05-30 | 1 | -15/+23 |
| | | | | | | | | | they stay there (GH-119731) The Full Grammar specification in the docs omits rule actions, so grammar rules that raise a syntax error looked like valid syntax. This was solved in ef940de by hiding those rules in the custom syntax highlighter. This moves all syntax-error alternatives to invalid rules, adds a validator that ensures that actions containing RAISE_SYNTAX_ERROR are in invalid rules, and reverts the syntax highlighter hack. | ||||
| * | gh-118090: Improve error message for empty type param brackets (GH-118091) | Nikita Sobolev | 2024-05-07 | 1 | -3/+12 |
| | | |||||
| * | gh-116126: Implement PEP 696 (#116129) | Jelle Zijlstra | 2024-05-03 | 1 | -3/+7 |
| | | | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
| * | gh-118323: Document `&&` grammar syntax (#118324) | Nikita Sobolev | 2024-04-27 | 1 | -0/+3 |
| | | |||||
| * | gh-116988: Remove duplicates of `annotated_rhs` in the Grammar (#117004) | David Rubin | 2024-04-24 | 1 | -9/+9 |
| | | |||||
| * | gh-118082: Improve `import` without names syntax error message (#118083) | Nikita Sobolev | 2024-04-23 | 1 | -0/+4 |
| | | |||||
| * | gh-109120: Fix syntax error in handlinh of incorrect star expressions (#117444) | Grigoriev Semyon | 2024-04-02 | 1 | -2/+4 |
| | | |||||
| * | bpo-24612: Improve syntax error for 'not' after an operator (GH-28170) | Pablo Galindo Salgado | 2024-03-26 | 1 | -0/+7 |
| | | | | Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> | ||||
| * | gh-115881: Ensure `ast.parse()` parses conditional context managers even ↵ | Alex Waygood | 2024-02-26 | 1 | -1/+1 |
| | | | | | with low `feature_version` passed (#115920) | ||||
| * | gh-111488: Changed error message in case of no 'in' keyword after 'for' in ↵ | Grigoriev Semyon | 2024-01-06 | 1 | -0/+2 |
| | | | | | cmp (#113656) | ||||
| * | bpo-45759: Better error messages for non-matching 'elif'/'else' statements ↵ | Crowthebird | 2023-11-20 | 1 | -0/+5 |
| | | | | | (#29513) | ||||
| * | gh-111420: Allow type comments in parenthesized `with` statements (#111468) | Tomas R | 2023-10-31 | 1 | -2/+2 |
| | | |||||
| * | gh-110938: Fix error messages for indented blocks with functions and classes ↵ | Pablo Galindo Salgado | 2023-10-17 | 1 | -3/+3 |
| | | | | | with generic type parameters (#110973) | ||||
| * | gh-110696: Fix incorrect syntax error message for incorrect argument ↵ | Pablo Galindo Salgado | 2023-10-12 | 1 | -1/+2 |
| | | | | | unpacking (#110706) | ||||
| * | gh-109596: Ensure repeated rules in the grammar are not allowed and fix ↵ | Pablo Galindo Salgado | 2023-09-22 | 1 | -7/+4 |
| | | | | | incorrect soft keywords (#109606) | ||||
| * | gh-109114: Relax the check for invalid lambdas inside f-strings to avoid ↵ | Pablo Galindo Salgado | 2023-09-08 | 1 | -1/+1 |
| | | | | | false positives (#109121) | ||||
| * | gh-107015: Remove async_hacks from the tokenizer (#107018) | Pablo Galindo Salgado | 2023-07-26 | 1 | -17/+17 |
| | | |||||
| * | gh-98931: Add custom error messages to invalid import/from with multiple ↵ | Pablo Galindo Salgado | 2023-06-22 | 1 | -1/+1 |
| | | | | | | | targets (#105985) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
| * | gh-105194: Fix format specifier escaped characters in f-strings (#105231) | Pablo Galindo Salgado | 2023-06-02 | 1 | -1/+1 |
| | | |||||
| * | gh-104799: Move location of type_params AST fields (#104828) | Jelle Zijlstra | 2023-05-26 | 1 | -6/+6 |
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
| * | gh-104656: Rename typeparams AST node to type_params (#104657) | Jelle Zijlstra | 2023-05-22 | 1 | -4/+4 |
| | | |||||
