Pablo Galindo Salgado <[email protected]> added the comment:
This is not a bug, check the thread that Serhiy attached. The grammar is, in
principle, correct. For instance, you can do:
def f(a,b,c):
pass
def wrapper(*args, **kw):
return f(c=1, *args, **kw)
wrapper(2,b=2)
And you don't want that to be a syntax error.
----------
resolution: -> not a bug
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34882>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com