On 08/07/2020 16:02, Guido van Rossum wrote:
After all the discussion on the issue, I can still not stop thinking that there needs to be a visual distinction between "capture" and "match" variables. Having rules ("plain names are capture, dotted names are match") is one more thing to be learnt. One more bit of mystery when (a near newbie is) reading code. Possible compromise: *two* sigils - one for capture, one for match. Both would be optional, only required when the default is not what is wanted, but could be added regardless if the author felt it added clarity.Today I’m happy (and a little trepidatious) to announce the next version of PEP 622, Pattern Matching.
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/6RD4RMT55TCKTVYCO7DWBMP7LNSZQ6BR/ Code of Conduct: http://python.org/psf/codeofconduct/