# The following was supposedly scribed by
# Eric Wilhelm
# on Wednesday 19 May 2004 08:58 pm:

>I'm having trouble getting Inline::Python to work with a python module which
>is using 'object' as a base class.

After thoroughly digging through the Python API and the Inline::Python XS/C 
code, I've found that Python's builtin 'object' class is not an actual class 
(e.g. it is not treated as a class by the Python API.)

Has anyone else had experience in trying to bind to a class which inherits 
from a builtin?

I've found a way to make some changes to Inline::Python which allow it to bind 
to this kind of class, but it seems that it may open a lot of edge cases.

Anyone interested in testing it?

Thanks,
Eric

P.S.  If you are in contact with Neil Watkiss, please tell him to check his 
e-mail.  The @cpan.org address seems to be on vacation (but, I guess 
everybody has a right to a vacation.)

Reply via email to