[Python-3000] PEP 3132: Extended Iterable Unpacking (original) (raw)
Guido van Rossum guido at python.org
Wed May 2 04:39:45 CEST 2007
- Previous message: [Python-3000] PEP 3132: Extended Iterable Unpacking
- Next message: [Python-3000] PEP 3132: Extended Iterable Unpacking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-3000] PEP 3132: Extended Iterable Unpacking
- Next message: [Python-3000] PEP 3132: Extended Iterable Unpacking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]