On Wed, Jul 8, 2020 at 10:45 AM Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > > On 8/07/20 12:24 pm, Daniel Moisset wrote: > > Many people in this thread have argued that the double meaning in the > > PEP might be confusing, but Python already has a double meaning in other > > places. > > But assignment targets have always been clearly separated by > being on the left of an assignment operator, either = or :=. > The PEP proposes to intermingle them, with only very subtle clues, > such as the presence or absence of dots, to distinguish them. >
Part of the point of the post you responded to is that assignment targets can be found in other contexts too - "for x[0] in iter:" uses x[0] as an assignment target, and there's no equals sign to be seen. You're right about the presence/absence of a dot being very subtle, but hang tight, wait for the next publication of the PEP; its authors are working on that exact problem. ChrisA _______________________________________________ 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/N4DJC5LOZH6T5NIJ32CDDSPQAAC4K24G/ Code of Conduct: http://python.org/psf/codeofconduct/