[Python-3000] PEP 3132: Extended Iterable Unpacking

Guido van Rossum guido at python.org
Wed May 2 04:39:45 CEST 2007


On 5/1/07, Brett Cannon <brett at python.org> 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.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list