[C++-sig] inspect module and Boost.Python.function

Jean Felder jean.felder at gmail.com
Thu Apr 21 15:48:51 CEST 2011

Hi all,

I would like to get a list of the arguments of some Boost Python functions
in a python program.
So, I was thinking of using the inspect module and the getargspec function.
However, I get an error: "arg is not a Python function".
I'm using python 2.6 and boost python 1.42.

Is it possible to combine inspect and boost python function ?
Is there a way to get the arguments of a Boost Python function in a python
program ?


Jean Felder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20110421/4c429aab/attachment.html>

More information about the Cplusplus-sig mailing list