Skip to content

Commits on Nov 1, 2022

  1. gh-98931: Improve error message when the user types 'import x from y'…

    … instead of 'from y import x' (#98932)
    pablogsal committed Nov 1, 2022

Commits on Sep 17, 2022

  1. gh-91210: Improve error message when non-default param follows default (

    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
    lysnikolaou committed Sep 17, 2022

Commits on Jul 18, 2022

  1. gh-94949: Disallow parsing parenthesised ctx mgr with old feature_ver…

    …sion (#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>
    hauntsaninja and blurb-it[bot] committed Jul 18, 2022
  2. gh-94947: Disallow parsing walrus with feature_version < (3, 8) (#94948)

    * 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>
    hauntsaninja and blurb-it[bot] committed Jul 18, 2022

Commits on Jun 26, 2022

  1. gh-94192: Fix error for dictionary literals with invalid expression a…

    …s value. (#94304)
    
    * Fix error for dictionary literals with invalid expression as value.
    
    * Remove trailing whitespace
    wookie184 committed Jun 26, 2022

Commits on Jun 10, 2022

  1. gh-93671: Avoid exponential backtracking in deeply nested sequence pa…

    …tterns in match statements (GH-93680)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    pablogsal and ambv committed Jun 10, 2022

Commits on Mar 26, 2022

  1. bpo-43224: Implement PEP 646 grammar changes (GH-31018)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    mrahtz and JelleZijlstra committed Mar 26, 2022

Commits on Jan 9, 2022

  1. bpo-46272: Fix two heading comments in python.gram (GH-30499)

    One typo fix and one heading change, both in comments. No functional changes.
    mdickinson committed Jan 9, 2022

Commits on Dec 14, 2021

Commits on Nov 24, 2021

Commits on Nov 9, 2021

  1. bpo-45764: improve error message when missing '(' after 'def' (GH-29484)

    to achieve this, change the grammar to expect the '(' token after 'def' NAME.
    
    Automerge-Triggered-By: GH:pablogsal
    cfbolz committed Nov 9, 2021

Commits on Nov 5, 2021

Commits on Nov 3, 2021

  1. bpo-44257: fix "assigment_expr" typo + regenerate the grammar, and re…

    …move unused imports (GH-29393)
    
    
    Co-authored-by: Wim Glenn <wglenn@jumptrading.com>
    wimglenn and wimglenn committed Nov 3, 2021

Commits on Sep 27, 2021

  1. bpo-43914: Correctly highlight SyntaxError exceptions for invalid gen…

    …erator expression in function calls (GH-28576)
    pablogsal committed Sep 27, 2021

Commits on Aug 1, 2021

Older