Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-123562: Improve `SyntaxError` message for `case ... as a.b` (#123563) | sobolevn | 2024-09-02 | 1 | -0/+7 |
| | |||||
* | gh-123048: Fix missing source location in pattern matching code (#123167) | Irit Katriel | 2024-08-20 | 1 | -0/+19 |
| | |||||
* | Test syntax error on comma-less tuple-style sequence patterns (#115485) | da-woods | 2024-05-01 | 1 | -0/+8 |
| | | | | | Adds a test that length-1 tuple-style sequence patterns must end in a comma, since there isn't currently one. Spotted while reviewing Cython's proposed implementation of the pattern matching syntax (https://github.com/cython/cython/pull/4897#discussion_r1489177169) where there was a bug my the reimplementation that wasn't caught against the CPython tests here. | ||||
* | gh-110686: Test pattern matching with `runtime_checkable` protocols (#110687) | Nikita Sobolev | 2023-12-10 | 1 | -0/+155 |
| | |||||
* | GH-106135: Add more edge-"cases" to test_patma (GH-106271) | Nikita Sobolev | 2023-06-30 | 1 | -0/+131 |
| | |||||
* | GH-103971: Forward-port test from GH-103980 (GH-103984) | Tian Gao | 2023-04-28 | 1 | -0/+13 |
| | |||||
* | gh-94499 Add test for private name mangling in class pattern matching (#94500) | da-woods | 2022-07-13 | 1 | -0/+14 |
| | | | | | | | The current status quo is that private attribute names are not mangled when a class is matched. I've added a test to document/legimize this behaviour. Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> | ||||
* | gh-93671: Avoid exponential backtracking in deeply nested sequence patterns ↵ | Pablo Galindo Salgado | 2022-06-10 | 1 | -0/+21 |
| | | | | | in match statements (GH-93680) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-45045: Optimize mapping patterns of structural pattern matching (GH-28043) | Dong-hee Na | 2021-08-30 | 1 | -0/+13 |
| | |||||
* | bpo-44600: Refactor new tracing tests (GH-27396) | Brandt Bucher | 2021-07-28 | 1 | -67/+74 |
| | |||||
* | bpo-44600: Fix line numbers for pattern matching cleanup code (GH-27346) | Charles Burkland | 2021-07-25 | 1 | -0/+76 |
| | |||||
* | bpo-44589: raise a SyntaxError when mapping patterns have duplicate literal ↵ | Jack DeVries | 2021-07-15 | 1 | -11/+34 |
| | | | | keys (GH-27131) | ||||
* | bpo-43977: Properly update the tp_flags of existing subclasses when their ↵ | Brandt Bucher | 2021-06-25 | 1 | -23/+87 |
| | | | | parents are registered (GH-26864) | ||||
* | Reorganize the pattern matching suite (GH-26661) | Brandt Bucher | 2021-06-18 | 1 | -548/+497 |
| | |||||
* | bpo-43977: Make sure that tp_flags for pattern matching are inherited ↵ | Mark Shannon | 2021-05-02 | 1 | -0/+41 |
| | | | | correctly. (GH-25813) | ||||
* | bpo-43754: Eliminate bindings for partial pattern matches (GH-25229) | Brandt Bucher | 2021-05-02 | 1 | -3/+77 |
| | |||||
* | bpo-43892: Validate the first term of complex literal value patterns (GH-25735) | Brandt Bucher | 2021-04-30 | 1 | -0/+32 |
| | |||||
* | bpo-43892: Make match patterns explicit in the AST (GH-25585) | Nick Coghlan | 2021-04-29 | 1 | -0/+16 |
| | | | Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> | ||||
* | bpo-42128: __match_args__ can't be a list anymore (GH-25203) | Brandt Bucher | 2021-04-06 | 1 | -7/+23 |
| | |||||
* | bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917) | Brandt Bucher | 2021-02-26 | 1 | -0/+2878 |
Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Talin <viridia@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com> |