[issue2677] Argument rules for callables do not apply when function implementation uses PyArg_ParseTuple

Ludovico Gardenghi report at bugs.python.org
Thu Apr 24 12:35:12 CEST 2008


Ludovico Gardenghi <garden at acheronte.it> added the comment:

I'd believe you when you say "positional parameters are unnamed", but:

- the language reference contains terms such as "first formal parameter
name". This means that positional parameters *may* have a name but may
also have no name?
- if you define a python function as "def f(a, b, c):" you can call it
using keyword arguments instead of positional (e.g. f(1, c=3, b=2)).

Could you please explain me what I'm still missing? (I repeat - I met
python for the first time 2 weeks ago, so it may very well be the case
that I'm completely wrong)

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2677>
__________________________________


More information about the Python-bugs-list mailing list