Thanks Stefan.
I did try your suggestion but unfortunately the linker gave me errors
regarding del and slice.
Thanks anyway.
--
View this message in context:
http://boost.2283326.n4.nabble.com/Clearing-lists-in-boost-python-tp3617273p3617362.html
Sent from the Python - c++-sig mailing list arch
Hi,
I've been trying to clear a list of dictionaries from a list without
success.
The code below is a simple example of what I'm trying to achieve.
dict a, b;
list mylist;
mylist.append(a);
mylist.append(b);
mylist.clear();
When I type in the last statement I get the error below from the linker
Hi,
OS: UBUNTU 11.04
Could someone please help me out here.
I'm using boost-python. I have written a C++ program that returns a list
back to Python.
The problem I'm having is that the returned data seems to be misaligned.
When I run the C++ program on its own and print out the structure all see