[C++-sig] exporting a boost::python::dict containing a boost::python::list

2012-07-20 Thread Ronny Herzog
Dear all, I want to export a boost::python::dict containing a boost::python::list. However, when I print this list in Python, I get an unlimited output of some strange numbers: namespace bp = boost::python; class readraw { bp::list mk_pyPeak_list() {

Re: [C++-sig] exporting a boost::python::dict containing a boost::python::list

2012-07-20 Thread Ralf Grosse-Kunstleve
without having looked at your code ... most likely this is a memory issue. run with valgrind (valgrind.org or man valgrind) to pin-point the problem. On Fri, Jul 20, 2012 at 7:55 AM, Ronny Herzog wrote: > > Dear all, > > I want to export a boost::python::dict containing a boost::python::list. >