Right, Just to be clear though: **-args must follow any *-args and position arguments. So at worst, your example is: f(x, y, *k, *b, c, **w, **d) Best, Neil On Mon, Feb 9, 2015 at 5:10 PM, Benjamin Peterson <benjamin at python.org> wrote: > > > On Mon, Feb 9, 2015, at 16:32, Guido van Rossum wrote: > > FWIW, I've encouraged Neil and others to complete this code as a > > prerequisite for a code review (but I can't review it myself). I am > > mildly > > in favor of the PEP -- if the code works and looks maintainable I would > > accept it. (A few things got changed in the PEP as a result of the work.) > > In a way, it's a simplification, since functions are now simply called > with a sequence of "generalized arguments"; there's no privileged kwarg > or vararg. Of course, I wonder how much of f(**w, x, y, *k, *b, **d, c) > we would see... > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150209/d239b060/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4