PEP 636

E257816

PEP 636 is a Python Enhancement Proposal that serves as a tutorial-style guide to the structural pattern matching feature introduced in Python 3.10.

All labels observed (3)

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Python Enhancement Proposal ⓘ
author Brandt Bucher ⓘ
Guido van Rossum ⓘ
Ivan Levkivskyi ⓘ
Jelle Zijlstra ⓘ
Sven Marnach ⓘ
Tal Ben-Nun ⓘ
Tobias Kohn ⓘ
belongsToProject CPython ⓘ
category Tutorial ⓘ
created 2020-10-05 ⓘ
describesChange addition of match and case statements to Python ⓘ
describesFeature structural pattern matching ⓘ
discussedOn python-dev mailing list ⓘ
explainsConcept AS patterns ⓘ
OR patterns ⓘ
capture patterns ⓘ
class patterns ⓘ
guard in case clauses ⓘ
literal patterns ⓘ
mapping patterns ⓘ
pattern matching semantics ⓘ
sequence patterns ⓘ
value patterns ⓘ
wildcard pattern ⓘ
explainsDifferenceFrom traditional switch/case statements in other languages ⓘ
explainsSyntaxElement case pattern ⓘ
match statement ⓘ
explainsUseCase handling abstract syntax trees ⓘ
parsing structured data ⓘ
replacing chains of if/elif statements ⓘ
governs tutorial examples for structural pattern matching ⓘ
hostedAt https://peps.python.org/pep-0636/ ⓘ
language English ⓘ
motivates use of structural pattern matching for clearer control flow ⓘ
partOf Python 3.10 pattern matching PEP series ⓘ
PEPNumber 636 ⓘ
purpose Explain structural pattern matching by examples ⓘ
relatedTo PEP 634 ⓘ
PEP 635 ⓘ
standardizedIn Python 3.10 language specification ⓘ
status Accepted ⓘ
targetAudience Python programmers ⓘ
title Structural Pattern Matching: Tutorial ⓘ
type Informational PEP ⓘ
versionIntroduced Python 3.10 ⓘ

How these facts were elicited

Referenced by (12)

Full triples — surface form annotated when it differs from this entity's canonical label.

PEP 622 → supersededBy → PEP 636 ⓘ
PEP 622 → influenced → PEP 636 ⓘ
PEP 634 → relatedTo → PEP 636 ⓘ
Python 3.10 → introduces → PEP 636 structural pattern matching tutorial ⓘ
linked to: PEP 636
Python 3.10 → implementsPEP → PEP 636 ⓘ
PEP 635 → relatedTo → PEP 636 ⓘ
PEP 635 → partOf → Python 3.10 pattern matching PEP series ⓘ
linked to: PEP 636
Tal Ben-Nun → coAuthorOf → PEP 636 ⓘ
Sven Marnach → coAuthored → PEP 636 ⓘ
Python structural pattern matching → documentedIn → PEP 636 ⓘ
subject linked to: Sven Marnach
Pablo Galindo → coAuthorOf → PEP 636 ⓘ