Boost logo

Boost :

From: nickm_at_[hidden]
Date: 2001-09-19 08:05:47

Hi all,

I am using Boost.Python to export a class library to Python,
and I have following:

def invoke(c):
  if callable(c):
    print c
    print "object not callable"

"obj" is instance of one of the exported classes, and
"method" is one of its methods

invoke(obj.method) gives me:

<class boost::python::detail::bound_function object at 0038BDE0>
object not callable

How can I correct this?


Boost list run by bdawes at, gregod at, cpdaniel at, john at