Hi,

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

If I remove the (object) base class, everything works great and I get a Perl 
reference which looks like:
  Inline::Python::Object=SCALAR(0x80fbbc0)

If I leave the base class, I get a string:
  <__main__.foo object at 0x82a976c>

Actually, I get the error:
Can't bless non-reference value at 
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Inline/Python.pm line 318.

I found the above <foo at bar> string by inserting a print statement in 
Python.pm at 317.

Any suggestions?

Thanks,
Eric

Reply via email to