[issue27809] _PyObject_FastCall(): add support for keyword arguments

STINNER Victor report at bugs.python.org
Mon Aug 22 09:23:45 EDT 2016


STINNER Victor added the comment:

> _PyObject_FastCallKeywords(PyObject **args, int nargs, PyObject **kwargs, int nkwargs): nkwargs is the number of (key, value) pairs

Hum, I don't know if it's worth to "split" the C array into two parts. Maybe it can be just:

_PyObject_FastCallKeywords(PyObject **args, int nargs, int nkwargs);

As current used in Python/ceval.c.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27809>
_______________________________________


More information about the Python-bugs-list mailing list