commit | a9efb2f56eb6bcb97cebfadf1e778b4cb979357f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Sep 09 17:40:22 2016 -0700 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Sep 09 17:40:22 2016 -0700 |
tree | ab942c23afa123480faca8207c99c53e804eceed | |
parent | 78601a38c22ba1f09104e2562a10a94cbd36f5f0 [diff] |
Add METH_FASTCALL calling convention Issue #27810: Add a new calling convention for C functions: PyObject* func(PyObject *self, PyObject **args, Py_ssize_t nargs, PyObject *kwnames); Where args is a C array of positional arguments followed by values of keyword arguments. nargs is the number of positional arguments, kwnames are keys of keyword arguments. kwnames can be NULL.