PEP 634
E253900
PEP 634 is the Python Enhancement Proposal that formally specifies the semantics of structural pattern matching introduced in Python 3.10.
All labels observed (2)
| Label | Occurrences |
|---|---|
| PEP 634 canonical | 7 |
| PEP 634 structural pattern matching semantics | 1 |
Statements (49)
| Predicate | Object |
|---|---|
| instanceOf | Python Enhancement Proposal ⓘ |
| author | Brandt Bucher ⓘ |
| bdflDelegate |
Guido van Rossum
ⓘ
Pablo Galindo ⓘ |
| belongsTo | CPython reference documentation ecosystem ⓘ |
| created | 2020-02-10 ⓘ |
| definesConcept |
AS pattern
ⓘ
OR pattern ⓘ capture pattern ⓘ class pattern ⓘ guard in case clause ⓘ mapping pattern ⓘ sequence pattern ⓘ value pattern ⓘ wildcard pattern ⓘ |
| definesSemanticsFor |
pattern matching on OR patterns
ⓘ
pattern matching on classes ⓘ pattern matching on literals ⓘ pattern matching on mappings ⓘ pattern matching on sequences ⓘ pattern matching with guards ⓘ |
| definesSyntaxFor |
case pattern
ⓘ
match statement ⓘ |
| definesTerm |
irrefutable pattern
ⓘ
refutable pattern ⓘ subject value (in match statement) ⓘ |
| discussionsTo | [email protected] ⓘ |
| governs | behavior of match-case statement in Python 3.10+ ⓘ |
| introducedIn | Python 3.10 ⓘ |
| language | English ⓘ |
| partOf | Python language specification process ⓘ |
| pepNumber | 634 ⓘ |
| pythonVersion | 3.10 ⓘ |
| relatedTo |
PEP 635
ⓘ
PEP 636 ⓘ |
| replaces | PEP 622 ⓘ |
| requires |
changes to CPython compiler
ⓘ
changes to CPython runtime ⓘ |
| specifies | semantics of structural pattern matching ⓘ |
| sponsor |
Guido van Rossum
ⓘ
Pablo Galindo ⓘ |
| status | Final ⓘ |
| targetAudience |
Python core developers
ⓘ
Python language implementers ⓘ Python library authors ⓘ |
| title |
Structural Pattern Matching
ⓘ
surface form:
Structural Pattern Matching: Specification
|
| topic | structural pattern matching ⓘ |
| type | Standards Track ⓘ |
| url | https://peps.python.org/pep-0634/ ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
Instruction
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Input
Subject: PEP 634 Description of subject: PEP 634 is the Python Enhancement Proposal that formally specifies the semantics of structural pattern matching introduced in Python 3.10.
Referenced by (8)
Full triples — surface form annotated when it differs from this entity's canonical label.
this entity surface form:
PEP 634 structural pattern matching semantics