[Python-ideas] What's going on with PEP 448 - Additional Unpacking Generalizations ?

Neil Girdhar mistersheik at gmail.com
Tue Jan 20 12:08:15 CET 2015


oops, I mean, currently we can do

f(1, d=4, *[1,2], **{})

I'm asking about the others…

On Tue, Jan 20, 2015 at 6:02 AM, Neil Girdhar <mistersheik at gmail.com> wrote:

> I've been working on the patch for PEP 448.  Are the restrictions on the
> order of arguments in a function call partially or fully lifted?
>
>
> Currently, we can do:
> def f(a, b, c, d):
>     pass
>
> f(1, d=4, *[1,2], 2, **{})
>
> After PEP 448 can we do:
>
> f(1, d=4, *[2], c=3, **{})
>
> ?
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "python-ideas" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/python-ideas/J99EFY1D1nI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> python-ideas+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
> --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "python-ideas" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/python-ideas/J99EFY1D1nI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> python-ideas+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150120/1c50480d/attachment-0001.html>


More information about the Python-ideas mailing list