[Python-3000] PEP 3132: Extended Iterable Unpacking (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 3 02:52:21 CEST 2007


Guido van Rossum wrote:

In any case the grammar will probably end up accepting *a in lots of places where it isn't really allowed and you'll have to fix all of those. That sounds messy; only allowing *a at the end seems a bit more manageable.

I also would be quite happy if it were only allowed at the end, and not allowed on its own. I don't see any utility in being able to write *a = b instead of a = list(b) or some such.

-- Greg



More information about the Python-3000 mailing list