You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#100 has landed, which allows the specification of defaults when defining a function. Next step is to implement the syntax for keyword argument function calls, and the generation and consumption of the CALL_FUNCTION_KW opcode.
(After that, we will need to support keyword-only arguments (which I think should just require syntax parsing and MAKE_FUNCTION compilation changes) and then *args and **kwargs function (I'm not entirely sure what will be involved here, I think it will include CALL_FUNCTION_EX).)
Activity
OddBloke commentedon Aug 28, 2018
I've started digging in to this.
OddBloke commentedon Aug 28, 2018
#100 is the first part of this.
OddBloke commentedon Aug 29, 2018
#100 has landed, which allows the specification of defaults when defining a function. Next step is to implement the syntax for keyword argument function calls, and the generation and consumption of the
CALL_FUNCTION_KWopcode.(After that, we will need to support keyword-only arguments (which I think should just require syntax parsing and
MAKE_FUNCTIONcompilation changes) and then*argsand**kwargsfunction (I'm not entirely sure what will be involved here, I think it will includeCALL_FUNCTION_EX).)windelbouwman commentedon Oct 24, 2018
@OddBloke I did some additional work on this. Do you think this issue can now be closed? What is still left to be done?
windelbouwman commentedon Oct 29, 2018
I think most functionality regarding this issue is implemented. Closing the issue.