logo       

Re: accessing the python type system: msg#00288

python.c++

Subject: Re: accessing the python type system

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.

--
Dave Abrahams
Boost Consulting
www.boost-consulting.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise