Re: [Python-Dev] CALL_FUNCTION_EX arg and stack_effect

2017-02-20 Thread Armin Rigo
Hi Matthieu, On 20 February 2017 at 19:44, Matthieu Dartiailh wrote: > What do you think ? Should I open an issue on https://bugs.python.org/ ? Possibly related: http://bugs.python.org/issue24340 A bientôt, Armin. ___ Python-Dev mailing list Python-

[Python-Dev] CALL_FUNCTION_EX arg and stack_effect

2017-02-20 Thread Matthieu Dartiailh
Hi, I have a question about the use of CALL_FUNCTION_EX in https://github.com/python/cpython/blob/master/Python/compile.c#L3624. Looking at the code it appears that the argument will be either 1 or 0 depending on whether or not the function is taking keywords arguments (which means that CALL_