by pansa2 · 1y ago · 0 comments
The other obvious example of complexity is pattern matching. The feature is very complex, especially how it breaks established rules of the language. It also required fundamental changes to the interpreter to accommodate it: a rewrite of the parser from simple LL(1) to PEG.
The PEP 617[1] (the PEG change) doesn't mention pattern matching at all.