n.org] On Behalf Of Gennadiy Rozental
Sent: Monday, May 11, 2009 12:47 AM
To: cplusplus-sig@python.org
Subject: Re: [C++-sig] how to deep copy boost python object
Ralf W. Grosse-Kunstleve yahoo.com> writes:
>
>
> A comprehensive approach is to make the object picklable.
> As a si
Ralf W. Grosse-Kunstleve 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 pickla
: Gennadiy Rozental
To: cplusplus-sig@python.org
Sent: Monday, May 4, 2009 11:59:45 PM
Subject: [C++-sig] how to deep copy boost python object
This looks like trivial question from FAQ, but I can seem to fond the answer.
Any pointers?
Genandiy
Neal Becker gmail.com> writes:
>
> Gennadiy Rozental wrote:
>
> > This looks like trivial question from FAQ, but I can seem to fond the
> > answer.
> >
> > Any pointers?
> >
> > Genandiy
>
> Maybe overide __copy__?
How is it involved? Here is an example:
bp::object o = foo();
// Here i w
Gennadiy Rozental wrote:
> This looks like trivial question from FAQ, but I can seem to fond the
> answer.
>
> Any pointers?
>
> Genandiy
Maybe overide __copy__?
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/
This looks like trivial question from FAQ, but I can seem to fond the answer.
Any pointers?
Genandiy
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig