List Question
20 TechQA 2023-10-24T09:23:01.263000match-case: Bind keyword attribute to variable
80 views
Asked by Hyperplane
Structural pattern matching in Python 3.10 "NameError: name 'match' is not defined"
1.9k views
Asked by HackJob99
Structural pattern matching in python <3.10
979 views
Asked by Noa
Subpattern/partial pattern matching in python
390 views
Asked by apostofes
Confusion between use of `|` to combine two dictionaries vs in match-case
350 views
Asked by apostofes
Capture makes remaining patterns unreachable
15k views
Asked by Raymond Hettinger
Avoiding accidental capture in structural pattern matching
528 views
Asked by Raymond Hettinger
Convert multiple isinstance checks to structural pattern matching
12.9k views
Asked by Raymond Hettinger
How to express hasattr() duck typing logic with structural pattern matching?
543 views
Asked by Raymond Hettinger
How use pattern matching for SQL style queries against JSON or JSON lines
391 views
Asked by Raymond Hettinger
Is there a way to test if an Iterable contains a pattern using python's "match" statement?
1.1k views
Asked by tjf801
Structural Pattern Matching Python - Matching a Set / Frozenset
1.9k views
Asked by awhitak331
How to use match statement with custom class?
410 views
Asked by Yap Wei Cheng
Python Structural Pattern Matching: str(True) doesn't match into str(True)
309 views
Asked by inyutin
Can't capture using set-literal, set(), or empty dict-literal (PEP-634, PEP-636)
68 views
Asked by Sam Hughes
Pattern matching to check a protocol. Getting TypeError: called match pattern must be a type
896 views
Asked by Raymond Hettinger
Conditional cases in match statement python3.10 (structural pattern matching)
1.8k views
Asked by Jeroen Vermunt
Invert a test with structural pattern matching
316 views
Asked by Raymond Hettinger
Python Structural Pattern Matching
6.2k views
Asked by Andrea Ciccotta
How to use values stored in variables as case patterns?
21.5k views
Asked by jakevdp