Pickling and Boost Objetcs

Nicodemus nicodemus at globalite.com.br
Wed Mar 19 03:17:03 EST 2003


Jim wrote:

> Hi ...
>
> i have a DLL that initializes some complicated c++ objects that are 
> accessible to python using boost python ... is it ok if i pickle these 
> objects ?
>
> Thanks in advanced ...
>
> Jim 


I think you will get better answers if you post on c++-sig at python.org. ;)

Boost.Python supports pickling, but it is not automatic, since C++ 
doesn't have instrospection. The reference documentation can be found at:

http://www.boost.org/libs/python/doc/v2/pickle.html

HTH,
Nicodemus.







More information about the Python-list mailing list