[C++-sig] Boost.Python type registry
jumpjoe at fastwebnet.it
Wed Oct 3 15:46:09 CEST 2007
I am trying to understand how the Boost.Python type registry works...
What I want to do is, given a python object (let's say a PyObject*), determine
its wrapper C++ type_info.
Theoretically, what I want to do is going name->PyObject->C++ type. Notice
that the traditional extract<T> won't work for me as I want to determine which
type is being wrapped.
I know Boost.Python is doing this internally in some way, but I haven't
figured it out yet.
Can anybody help?
Thanks in advance,
TEC-EDM Research Fellow
European Space Agency
More information about the Cplusplus-sig