[pypy-dev] Problems in connecting C++ and python with cppyy

wlavrijsen at lbl.gov wlavrijsen at lbl.gov
Sat May 25 21:45:48 CEST 2013


> Sorry, I did not find any mistakes except that AttributeError. So I
> think maybe there are some problems in my OS.

there may still be another problem lurking around that the AttributeError
is hiding (and which I'd consider a bug :} ).

Could you try the various cases using ctypes.CDLL(), either with CPython
or PyPy?

  >>> import ctypes
  >>> ctypes.CDLL('libMyClassDict.so')

If there's an issue with the error reporting, then this may show it.

Best regards,
WLavrijsen at lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net

More information about the pypy-dev mailing list