David Abrahams wrote:
Stefan Seefeld <stefan.seefeld@xxxxxxxxxxxx> writes:
hi there,
are there any functions/operators in boost.python to
let me access the python type system from within C++ ?
For example holding two python objects I'd like to test
whether one's type is derived from the other's type,
whether they are derived from a given type, i.e. things
like 'type', 'isinstance', etc.
These are more functions in the same category as len(). See my reply
to Philippe Fremy today on this list.
What about a 'type object' similar to 'type_info', i.e. with
a 'name()' accessor and comparison operators ?
Stefan