DEV Community

Discussion on: Python Switches to Match-Case

Collapse
 
vickilanger profile image
Vicki Langer

Eek. Thanks for pointing that out. I fixed the messed up naming.

I can't speculate as to why it took so long to add a match-case. I do know in PEP 3103, they claimed there was no support for such a feature. Then, PEP 635 includes rationale and some history of pattern matching. Honestly though, none of this really answers your question. These are all the official answers. I was hoping to find something more informal.