[Python-3000] Using *a for packing in lists and other places

Phillip J. Eby pje at telecommunity.com
Sun Mar 16 19:31:53 CET 2008


At 12:55 PM 3/16/2008 -0500, Guido van Rossum wrote:
>On Sun, Mar 16, 2008 at 12:48 PM, Phillip J. Eby 
><pje at telecommunity.com> wrote:
> > At 10:00 AM 3/16/2008 -0500, Guido van Rossum wrote:
> >  >(a) *if* we're going to do this, it should also be done for function
> >  >calls (though not for function defs). I'd like all of these to be
> >  >legal (and their interpretation is obvious):
> >  >
> >  >   f(a, b, *x, k=val)
> >  >   f(a, *x, b, k=val)
> >  >   f(*x, a, b, k=val, **kw=stuff)
> >
> >  What does **kw=stuff do?
>
>Sorry, typo. It's been a long conference. ;-) I meant **kw, not **kw=stuff.
>
>PS too bad you're not here!

I will be, next year.  I'll have plenty to present, if the things I'm 
working on haven't already become big enough by then that other 
people are doing presentations on them, instead.  :)

Btw, would you mind pronouncing (or at least commenting) on PEP 365, 
so that I can proceed with the work -- or not.



More information about the Python-3000 mailing list