Wrap C++ object copy for Python

Bug #259215 reported by Gustavo Carneiro
2
Affects Status Importance Assigned to Milestone
PyBindGen
Fix Released
Undecided
Unassigned

Bug Description

In C++ we can do
   FooBar foo;
   FooBar bar = foo;
or:
   FooBar bar (foo);

Both of which make a class instance value copy, if the class supports it.

Mapping of this into Python is needed. Either this:
    bar = FooBar(foo)
or:
    bar = copy.copy(foo)

Or support both...

Revision history for this message
Gustavo Carneiro (gjc) wrote :

OK, "both" it is.

Changed in pybindgen:
status: New → Fix Committed
Gustavo Carneiro (gjc)
Changed in pybindgen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.