[Python-Dev] Re: PEP 622 (Structural Pattern Matching) questions

2020-08-06 Thread Guido van Rossum
On Thu, Aug 6, 2020 at 04:31 Mark Shannon wrote: > Hi, > > I have two questions about PEP 622, as it stands. > > 1. Is the current version the final version? That is up to the Steering Council. > 2. Is the difference in semantics between the Django example and the > proposed replacement delib

[Python-Dev] Re: PEP 622 (Structural Pattern Matching) questions

2020-08-06 Thread Mark Shannon
Hi Daniel, On 06/08/2020 1:11 pm, Daniel Moisset wrote: Hi Mark, As the specific author of that example (and the author of the big it had on a previous version) let me clarify: The change in semantics is intentional. I could be more explicit, and preserve semantics, but I actually find very

[Python-Dev] Re: PEP 622 (Structural Pattern Matching) questions

2020-08-06 Thread Daniel Moisset
Hi Mark, As the specific author of that example (and the author of the big it had on a previous version) let me clarify: The change in semantics is intentional. I could be more explicit, and preserve semantics, but I actually find very likely that the original code does not support other sequence