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 jdemeyer
Recipients Mark.Shannon, jdemeyer, petr.viktorin
Date 2019-05-15.15:46:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Once PEP 590 is implemented, it makes sense to focus on using the new "vectorcall" calling convention, which is essentially what is currently FastCallKeywords. To simplify things, it would also be good to use FastCallDict in as few places as possible and actually get rid of that completely.

One place where using FastCallKeywords instead of FastCallDict is bad for performance is when using METH_VARARGS|METH_KEYWORDS: the dict would be converted to a tuple and then back to a dict. For builtin_function_or_method instances, there is already special code to deal with METH_VARARGS. But for method_descriptor, there is no such code and this issue fixes that.

More precisely, a specialized function is used for implementing calls of method_descriptor with the METH_VARARGS|METH_KEYWORDS signature. Other calls use FastCallKeywords instead, in which case there is no performance loss.
Date User Action Args
2019-05-15 15:46:02jdemeyersetrecipients: + jdemeyer, petr.viktorin, Mark.Shannon
2019-05-15 15:46:01jdemeyersetmessageid: <>
2019-05-15 15:46:01jdemeyerlinkissue36926 messages
2019-05-15 15:46:01jdemeyercreate