On 30/07/2020 00:34, Nick Coghlan wrote:
the proposed name binding syntax inherently conflicts with the
existing assignment statement lvalue syntax in two areas:
* dotted names (binds an attribute in assignment, looks up a
constraint value in a match case)
* underscore targets (binds in assignment, wildcard match without
binding in a match case)
The former syntactic conflict presents a bigger problem, though, as it
means that we'd be irrevocably committed to having two different
lvalue syntaxes for the rest of Python's future as a language.
+1
_______________________________________________
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/WLNMH7OFURYPL2E7YT5JRYXW7RLDGIH6/
Code of Conduct: http://python.org/psf/codeofconduct/