On 2/8/2021 3:07 PM, Python Steering Council wrote:
After much deliberation, the Python Steering Council is happy to announce that we have chosen to accept PEP 634, and its companion PEPs 635 and 636, collectively known as the Pattern Matching PEPs.
Thank you for your collective time and efforts. I agree with preferring 634 to the alternatives. I don't know what I would have decided after the additional discussion you all have had. I do think that for a big addition like this, a collective decision is better than one person deciding (including for the one person).
We also recognize that such a large new feature needs to be accompanied by comprehensive documentation and specification, both in the tutorial section of the documentation and in the language reference. We consider that the presence of such high-quality documentation must be present on the first release of Python 3.10, and therefore its absence should be considered a release blocker. We do not consider the PEPs or any possible external documentation to be sufficient.
I agree and appreciate this. There have been new features release without adequate documentation. This requirement means that you had to decide now or very soon or likely put this off to 3.11.
The one thing I think needs to be discussed and not been much, at least not publicly that I have seen, is whether we really want to go down the road of contextual keywords. There are some negatives as well as positives. Just because the new parser makes them possible does not mean we should. Do we really want to see 'match match:' or 'case match...', etc? Where possible, should we retroactively make existing keywords contextual?
This is really independent from the resst of this PEP since we could do the traditional thing of deprecate non-keyword uses of 'match' and 'case' and require a __future__ import for immediate use thereof.
Terry J. Reedy