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

2011-04-21 Thread Jean Felder
n supports overloads; the inspect module is not aware of > this. > > Ralf > > To: cplusplus-sig@python.org > Sent: Thursday, April 21, 2011 6:48 AM > Subject: Re: [C++-sig] inspect module and Boost.Python.function > > Hi all, > > I would like to get a list of the arg

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

2011-04-21 Thread Ralf W. Grosse-Kunstleve
day, April 21, 2011 6:48 AM >Subject: Re: [C++-sig] inspect module and Boost.Python.function > > >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 f

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

2011-04-21 Thread Jean Felder
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 t