Re: Directly calling python's function arguments dispatcher

2010-12-13 Thread Pascal Chambon
Le 12/12/2010 23:41, Peter Otten a écrit : Pascal Chambon wrote: I've encountered several times, when dealing with adaptation of function signatures, the need for explicitly resolving complex argument sets into a simple variable mapping. Explanations. Consider that function: def foo(a1,

Re: Directly calling python's function arguments dispatcher

2010-12-12 Thread Peter Otten
Pascal Chambon wrote: > I've encountered several times, when dealing with adaptation of function > signatures, the need for explicitly resolving complex argument sets into > a simple variable mapping. Explanations. > > > Consider that function: > > def foo(a1, a2, *args, **kwargs): > pass

Directly calling python's function arguments dispatcher

2010-12-12 Thread Pascal Chambon
Hello I've encountered several times, when dealing with adaptation of function signatures, the need for explicitly resolving complex argument sets into a simple variable mapping. Explanations. Consider that function: def foo(a1, a2, *args, **kwargs): pass calling foo(1, a2=2, a3=3) wi