On 08/07/2020 19:27, Gustavo Carneiro wrote:
Forgive the intrusion, in case this wasn't already mentioned (I only read a fraction of emails on this), we could say that name enclosed in parenthesis would mean loading a constant, instead of storing in a variable:
It's discussed as the third bullet point under "Alternatives for constant value pattern": https://www.python.org/dev/peps/pep-0622/#id74 Basically it looks odd and we may need parentheses to manage grouping in patterns.
-- Rhodri James *-* Kynesim Ltd _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/MMIHVMJEUQASMBTPUKIWZZXINRG43E5V/ Code of Conduct: http://python.org/psf/codeofconduct/