This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients brett.cannon, larry, pitrou, yselivanov
Date 2015-05-14.15:58:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <5554C626.8010103@free.fr>
In-reply-to <1431618584.06.0.505440297178.issue24189@psf.upfronthosting.co.za>
Content
Le 14/05/2015 17:49, Yury Selivanov a écrit :
> 
>> What do you mean? In Signature or in BoundArguments? I would hope
>> that
> Signature keeps it.
> 
> I mean during the actual call, as **kwargs aren't ordered.
> 
> I think having indexes for parameters would make sense for a language
> like JS or C, where there are no keyword arguments, and indexes of
> parameters match indexes of arguments.

As mentioned in the issue, when re-implementing function calls, you have
to flatten the arguments into a simple argument list (because the
function parameters are actually a sequence (*), despite Python's rich
function call possibilities).

(*) at least for pure Python functions, where the arguments are simply
pushed sequentially on the ceval stack
History
Date User Action Args
2015-05-14 15:58:32pitrousetrecipients: + pitrou, brett.cannon, larry, yselivanov
2015-05-14 15:58:32pitroulinkissue24189 messages
2015-05-14 15:58:32pitroucreate