[C++-sig] Re: accessing the python type system

David Abrahams dave at boost-consulting.com
Tue May 27 21:16:55 CEST 2003

Stefan Seefeld <stefan.seefeld at orthosoft.ca> 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.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list