History for Grammar/python.gram - python/cpython · GitHub

github.com

Tin mới

gh-154775: Don't accept duplicate plus sign when matching complex number (GH-154776)

gh-154775: Don't accept duplicate plus sign when matching complex number (GH-154776)

gh-153171: Produce specialized syntax errors for 'not' after an operator in more positions (GH-153175)

gh-153171: Produce specialized syntax errors for 'not' after an operator in more positions (GH-153175)

gh-150459: Fix `SyntaxError` message for `from x lazy import y` (#150877)

gh-150459: Fix `SyntaxError` message for `from x lazy import y` (#150877)

gh-146495: Improve `SyntaxError` message for `&&` and `||` operators (#150906)

gh-146495: Improve `SyntaxError` message for `&&` and `||` operators (#150906)

gh-145239: Accept unary plus literal pattern (#148566)

gh-145239: Accept unary plus literal pattern (#148566)

gh-145241: specialize SyntaxError for single trailing-comma with item (#145282)

gh-145241: specialize SyntaxError for single trailing-comma with item (#145282)

gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)

gh-142349: Implement PEP 810 - Explicit lazy imports (#142351)

gh-143055: Implementation of PEP 798 (#143056)

gh-143055: Implementation of PEP 798 (#143056)

gh-142236: Improve error location for missing comma in string concatenations (#142330)

gh-142236: Improve error location for missing comma in string concatenations (#142330)

gh-138944: Fix `SyntaxError` message for invalid syntax following valid import-as statement (#138945)

gh-138944: Fix `SyntaxError` message for invalid syntax following valid import-as statement (#138945)

gh-138857: Improve error message for `case` outside of `match` (#138858)

gh-138857: Improve error message for `case` outside of `match` (#138858)

gh-140253: Improve the syntax error from an ill-positioned double-star subpattern (#140254)

gh-140253: Improve the syntax error from an ill-positioned double-star subpattern (#140254)

gh-138716: Fix `assert a := b` syntax error message (#138718)

gh-138716: Fix `assert a := b` syntax error message (#138718)

gh-136616: Improve `assert` syntax error messages (#136653)

gh-136616: Improve `assert` syntax error messages (#136653)

gh-137078: Fix keyword typo recognition when executed over files (#137079)

gh-137078: Fix keyword typo recognition when executed over files (#137079)

gh-132661: Disallow `Template`/`str` concatenation after PEP 750 spec update (#135996)

gh-132661: Disallow `Template`/`str` concatenation after PEP 750 spec update (#135996)

gh-135422: Fix regression in `SyntaxError` messages after #134036 (#135423)

gh-135422: Fix regression in `SyntaxError` messages after #134036 (#135423)

gh-134036: Improve error messages for invalid `raise` statements (#134077)

gh-134036: Improve error messages for invalid `raise` statements (#134077)

gh-133999: Fix `except` parsing regression in 3.14 (#134035)

gh-133999: Fix `except` parsing regression in 3.14 (#134035)

Remove trailing whitespace from python.gram (#133858)

Remove trailing whitespace from python.gram (#133858)

gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382)

gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382)

gh-133194: Fix regression with PEP 758 parsing on older `feature_version` (#133289)

gh-133194: Fix regression with PEP 758 parsing on older `feature_version` (#133289)

gh-123539: Improve SyntaxError msg for `import as` with not a name (#123629)

gh-123539: Improve SyntaxError msg for `import as` with not a name (#123629)

gh-133196: Guard PEP 750 grammar with `CHECK_VERSION` (#133225)

gh-133196: Guard PEP 750 grammar with `CHECK_VERSION` (#133225)

gh-133194: Add `CHECK_VERSION` to new PEP758 grammar (#133195)

gh-132661: Implement PEP 750 (#132662)

Remove trailing whitespace from python.gram (#133175)

gh-129858: Special syntax error for `elif` block after `else` (#129902)

gh-132449: Improve syntax error messages for keywords with typos (#132450)

gh-131831: Implement PEP 758 – Allow except and except* expressions without parentheses (#131833)

gh-129515: Clarify syntax error messages for conditional expressions (#129880)

gh-125331: Allow the parser to activate future imports on the fly (#125482)

gh-88535: Improve syntax error for wrongly closed strings (#26633)

gh-122951: Simplify the grammar of the assignment rule (#124998)

gh-123562: Improve `SyntaxError` message for `case ... as a.b` (#123563)