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

Neil Girdhar mistersheik at gmail.com
Tue Jan 20 12:02:50 CET 2015


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, **{})

?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150120/b6bd9f65/attachment.html>


More information about the Python-ideas mailing list