Hello group, simple types (int, float, etc.) seem to transfer without problem to C++ and back to Python, but whenever I try returning something nontrivial from C++ I get something like this: >>> a = myclass.Myclass() >>> print a.i 42 >>> print a.f 3.14159 >>> print a.ilist Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: No Python class registered for C++ class std::list<int, std::allocator<int> >
The code for this example is here: http://pastebin.com/m4c45a88 I tried looking in the documentation but was not able to understand what to do about this error. Any examples out there? thanks, AW _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig