[Python-3000] PEP 3113 (Removal of Tuple Parameter Unpacking)

Christian Tanzer tanzer at swing.co.at
Mon Mar 5 15:11:23 CET 2007


ark-mlist at att.net wrote:

> > FWIW, I always liked the `parameter passing is assignment` semantics
> > of Python. I sure hope nobody is going to start a crus^H^H^H^HPEP to
> > remove tuple unpacking in general from the language!
>
> Isn't the point of this discussion that it is already gone?

AFAIU, you'll still be able to say:

    for k, v in dict.values() :
        whatever_needs_to_be_done(k, v)

or
    x, y = some_tuple

And I hope that's going to stay...

-- 
Christian Tanzer                                    http://www.c-tanzer.at/



More information about the Python-3000 mailing list