Do I understand correctly that with PEP 3102 implemented, keyword
arguments can follow vararg in function definitions, but doing the
same when calling the function is still a syntax error?

With the latest py3k,

>>> def f(a, *args, v=None):
...    pass
...
>>> f(a, *args, v=None)
  File "<stdin>", line 1
    f(a, *args, v=None)
                ^
SyntaxError: invalid syntax

Is this intentional?
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to