Guido van Rossum schrieb: > On 5/1/07, Brett Cannon <[EMAIL PROTECTED]> wrote: >> > Also, what should this do? Perhaps the grammar could disallow it? >> > >> > *a = range(5) >> >> I say disallow it. That is ambiguous as to what your intentions are even if >> you know what '*' does for multiple assignment. > > My real point was that the PEP lacks precision here. It should list > the exact proposed changes to Grammar/Grammar.
You're right. I tried to imply this with "A tuple (or list) on the left side of a simple assignment", but it isn't clear enough. I'll update the PEP to incorporate the grammar changes today. Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com