Python’s match statement, which provides a long-sought C-like
switch statement—though it is far more than that—has now been part of the
language for more than six months. One of the authors of the series of Python
Enhancement Proposals (PEPs) that described the
feature, Brandt Bucher, came to PyCon 2022 in Salt Lake City, Utah to talk
about
the feature. He gave an overview of its history, some of its many-faceted
abilities, a bit about how it was implemented, and some thoughts on its
future, in a presentation on
April 29, which was the first day of talks for the conference.
Source: LWN.net – [$] An overview of structural pattern matching for Python