New submission from Amaury Forgeot d'Arc <[EMAIL PROTECTED]>:
functions with keyword-only arguments have this form:
def f(x, *args, y):
pass
parameters can appear after the *arg, they are required to be passed by
keyword.
It would be more consistent to allow this function call:
f(X, *ARGS, y=Y)
This is invalid syntax, *ARGS is required to be at the end of the
arguments, together with an eventual **KWARGS. This restriction should
be lifted.
See the use case in
http://mail.python.org/pipermail/python-3000/2008-July/014437.html
----------
assignee: amaury.forgeotdarc
messages: 70449
nosy: amaury.forgeotdarc
severity: normal
status: open
title: In function call, keyword arguments could follow *args
versions: Python 3.0
_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3473>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com