Re: [C++-sig] problem with boost::python and pickling

2010-07-02 Thread Jakub Zytka
On 07/02/10 15:42, Jakub Zytka wrote: Ok, on newer boost (1.43) error message pointed the actual problem: even for such simple dummy class some pickling support must be provided, eg. struct dummy_pickle_suite : boost::python::pickle_suite { static boost::python::tuple getinitargs(const d

[C++-sig] problem with boost::python and pickling

2010-07-02 Thread Jakub Zytka
I've run into some problem i do not understand. Consider following example, which is a slightly modified pickle2.cpp from boost's libs/python/test/: #include #include #include #include #include namespace boost_python_test { struct dummy // my addition { }; // A friendly class. class w