[C++-sig] copy.deepcopy of a vector, and the resulting error
roman.yakovenko at gmail.com
Wed Feb 6 08:42:43 CET 2008
2008/2/5 Matthew Scouten <matthew.scouten at gmail.com>:
> So I have a vector of foo that I exposed with the indexing suite, and I need
> to deepcopy it. I get a Boost.Python.ArgumentError exception when I try to
> iterate across the result later.
I tried your example using indexing suite 2 and it gave me nice & very
helpful error message:
RuntimeError: Pickling of "deepcopy.items_t" instances is not enabled
Take a look on the URL.
C++ Python language binding
More information about the Cplusplus-sig