Hello,
sorry if this question is too trivial, but I've got some rather strange problem
with using the boost::python type wrapper for the python list.
It goes as follows: I've got a very small demo program (say main.cpp).
Running it causes a segfault. (The actual project is much larger, of course
On 2011-01-15 09:01, Michael Wand wrote:
int main() {
boost::python::list myList;
myList.append("foo");
myList.append("fork");
cerr<< "Printing length of list."<< endl;
cerr<< "Length of myList: "<< boost::python::len(myList)<< endl;
// the above line causes a segfau