On 23/11/20 7:49 am, Daniel Moisset wrote:
Look at the following (non-pattern-matching) snippet:event = datetime.date(x, month=y, day=z)
The only names that are treated as lvalues there are to the left of an '='. The rules are a lot simpler. One of the Zen lines says "If it's hard to explain, it's probably a bad idea." I think the proposed rules for match cases are objectively harder to explain than those for other expressions, because they're more complicated. -- Greg _______________________________________________ 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/AVXFD6J2LGGTJH5LZKBJ3EAGUPV6QPGX/ Code of Conduct: http://python.org/psf/codeofconduct/
