Wrap C++ object copy for Python
Bug #259215 reported by
Gustavo Carneiro
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...
Changed in pybindgen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
OK, "both" it is.