PEP 622 -- Structural Pattern Matching is PEP proposes adding pattern matching statements to Python in order to create more expressive ways of handling structured heterogeneous data. The authors take a holistic approach, providing both static and runtime specifications.