Re: [C++-sig] Extended python system needs access to cPickle in c++

2009-05-05 Thread William Ladwig
d python system needs access to cPickle in c++ Hi, I have an app with a python core, then c++ extension modules. I'd like to be able to use cPickle to pack structures, especially boost::python::tuples, in c++. Is there a way I can expose a python module in the c++ extensions? I thought ab

[C++-sig] Extended python system needs access to cPickle in c++

2009-05-05 Thread Simon Pickles
Hi, I have an app with a python core, then c++ extension modules. I'd like to be able to use cPickle to pack structures, especially boost::python::tuples, in c++. Is there a way I can expose a python module in the c++ extensions? I thought about passing a module as an arg to a c++ function,