> 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.

[1] https://peps.python.org/pep-0617