News

A proposal under consideration by Python’s development team would finally bring pattern matching statements to the language.
Python, for all its power and popularity, has long lacked a form of flow control found in other languages—a way to take a value and match it elegantly against one of a number of possible conditions.
One of the major new developments planned for Python 3.10 (due in October) is structural pattern matching syntax, which is a common feature in many other languages.