Is it possible to use keyword arguments from C?

Darren Dale dsdale24 at gmail.com
Mon Jul 13 09:47:41 EDT 2009


On Jul 13, 9:38 am, Darren Dale <dsdal... at gmail.com> wrote:
> I am learning about the python C-api in order to contribute a feature
> to numpy. I see a discussion (http://docs.python.org/extending/
> extending.html#keyword-parameters-for-extension-functions) on how to
> create a function or method  in C that accepts kwargs, but is it
> possible to call such a method from C using kwargs rather than
> positional arguments?

The answer was yes, this can be done. I found a short discussion at
the bottom of section 1.6: http://docs.python.org/extending/extending.html#calling-python-functions-from-c



More information about the Python-list mailing list