[C++-sig] python copying of boost-python objects

Neal Becker ndbecker2 at verizon.net
Fri Apr 9 02:51:18 CEST 2004


I'm having a hard time figuring out how python handles copying of
boost-python objects.  In particularly, I want to wrap stl vector objects. 
What happens when I do

x1 = x2[:]

or use python copy()?

Can/should I do something to control it to ensure large vector copies are
efficient?






More information about the Cplusplus-sig mailing list