[C++-sig] how to deep copy boost python object
rogeeff at gmail.com
Mon May 11 07:46:32 CEST 2009
Ralf W. Grosse-Kunstleve <rwgk <at> yahoo.com> writes:
> A comprehensive approach is to make the object picklable.
> As a side-effect, copy.deepcopy() will also work.
1. Are you saying that copy.deepcopy does not work without object being
picklable? What will happend if I try to use it for non picklable object?
2. What if object IS picklable. How will invoke deepcopy operation on bp::object?
More information about the Cplusplus-sig