May 25, 2013
7:45 p.m.
Hi,
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, Wim -- WLavrijsen@lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net