Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for python 3.10 match statement #10191

Merged
merged 84 commits into from Jan 18, 2022

Commits on Apr 6, 2021

  1. Configuration menu
    Copy the full SHA
    3847124 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9e9277 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c4109f View commit details
    Browse the repository at this point in the history
  4. Move MatchAs and MatchOr to patterns and add literal patterns

    This commit introduces patterns. Instead of representing patterns as
    expressions, like the python ast does, we create new data structures for
    them.
    As of this commit data structures for as-patterns, or-patterns and
    literal patterns are in place
    freundTech committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    289d014 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1973a88 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cc92db4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    057716c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6bfb098 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a74b0e6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fc3c1d2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    db04186 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    eeca25b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    cc76f59 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    36a45b3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7facb0d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1bc8a4b View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d26d81c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    3effadc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3aab780 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Configuration menu
    Copy the full SHA
    3a71c32 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7468d9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    943f2ff View commit details
    Browse the repository at this point in the history
  4. Minor code cleanup

    freundTech committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    b41fa30 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    037a140 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fb9ae47 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Configuration menu
    Copy the full SHA
    99c1bbf View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Implemented match_args parameter for dataclasses (bpo-43764)

    This also needs a typeshed change to work.
    freundTech committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    0e47d6f View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Refactor PatternChecker

    This is a big commit. It changes the design of PatternChecker to be more
    in line with ExpressionChecker. It allows reusing PatternChecker
    instances and will make supporting OrPattern easier.
    freundTech committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    77b997b View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. Configuration menu
    Copy the full SHA
    5228bc7 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. Configuration menu
    Copy the full SHA
    bba61fa View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Configuration menu
    Copy the full SHA
    39478fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a865882 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Adjust ASTConverter to use dedicated pattern nodes

    The dedicated nodes will land in 3.10.0b1.
    This removes the need for a seperate PatternConverter. Patterns are now
    handled by the ASTConverter itself.
    
    This commit also undoes some changes made to accomondate the
    PatternConverter
    freundTech committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    c35d921 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2021

  1. Configuration menu
    Copy the full SHA
    1aae2c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1364a67 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Fix linter errors

    freundTech committed May 3, 2021
    Configuration menu
    Copy the full SHA
    32a7b71 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Sync typeshed

    freundTech committed May 10, 2021
    Configuration menu
    Copy the full SHA
    25fe496 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86a6ce9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9445c10 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74c7040 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c964027 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2021

  1. Configuration menu
    Copy the full SHA
    f6b1752 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2b7d1e View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. Fix selftest failing

    freundTech committed May 18, 2021
    Configuration menu
    Copy the full SHA
    5c47852 View commit details
    Browse the repository at this point in the history
  2. Fix mypyc build failing

    freundTech committed May 18, 2021
    Configuration menu
    Copy the full SHA
    0ac21d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7db936b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5f98cdd View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. Configuration menu
    Copy the full SHA
    423b04c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2e12f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5eb480 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2021

  1. Configuration menu
    Copy the full SHA
    9d5d600 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2021

  1. Configuration menu
    Copy the full SHA
    a68ea59 View commit details
    Browse the repository at this point in the history
  2. Run com2ann and fix errors

    freundTech committed Sep 29, 2021
    Configuration menu
    Copy the full SHA
    43fd6e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d7baadf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a3ba8e View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. Configuration menu
    Copy the full SHA
    90aa1a7 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Configuration menu
    Copy the full SHA
    de723e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fb2cf2 View commit details
    Browse the repository at this point in the history
  3. Moved test to correct category

    I first misidentified what the actual problem causing the bug was. This test should be
    here.
    freundTech committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    ab7a2e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    45e2abe View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2021

  1. Configuration menu
    Copy the full SHA
    44ca265 View commit details
    Browse the repository at this point in the history
  2. Fixed broken tests

    freundTech committed Oct 11, 2021
    Configuration menu
    Copy the full SHA
    21f7b59 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2021

  1. Configuration menu
    Copy the full SHA
    bfb578d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    909fc55 View commit details
    Browse the repository at this point in the history
  3. Fix type errors

    freundTech committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    c0a43e8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f768993 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2021

  1. Configuration menu
    Copy the full SHA
    7b60596 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6cf9f58 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    268e181 View commit details
    Browse the repository at this point in the history
  4. Fix typo in test

    freundTech committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    dbcd886 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bd7e777 View commit details
    Browse the repository at this point in the history
  6. Moved messages to message_registry

    Also added class name to missing match args message
    freundTech committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    f51c83f View commit details
    Browse the repository at this point in the history
  7. Removed outdated comment

    freundTech committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    4d87ca1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9f9efcc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    68bd2ba View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ff5123c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    13b675b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e437323 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Configuration menu
    Copy the full SHA
    68a09ee View commit details
    Browse the repository at this point in the history
  2. Readd tuple missing tests

    freundTech committed Oct 21, 2021
    Configuration menu
    Copy the full SHA
    a5baf60 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2021

  1. Configuration menu
    Copy the full SHA
    4add6b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eabeb89 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Configuration menu
    Copy the full SHA
    53d40f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    52dc066 View commit details
    Browse the repository at this point in the history