]> granicus.if.org Git - python/commit
_PyObject_CallFunctionVa() uses fast call
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Dec 2016 23:31:47 +0000 (00:31 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Dec 2016 23:31:47 +0000 (00:31 +0100)
commitef7def94c7c681a10031e88efd6511f5c4ff2c75
treefa6a39994a3072cf8e272582e1cd725eab3b2686
parente9abde4642451f17d98e43aacc2bac74f83451c3
_PyObject_CallFunctionVa() uses fast call

Issue #28915: Use _Py_VaBuildStack() to build a C array of PyObject* and then
use _PyObject_FastCall().

The function has a special case if the stack only contains one parameter and
the parameter is a tuple: "unpack" the tuple of arguments in this case.
Objects/abstract.c