"Ralf W. Grosse-Kunstleve" <rwgk@yahoo.com> writes: > We are using Boost.Python to expose reference-counted C++ container > types (similar to std::vector<>) to Python. E.g.: > > from arraytbx import shared > d = shared.double(1000000) # double array with a million elements > c = shared.complex_double(100) # std::complex<double> array > # and many more types, incl. several custom C++ types I recommend to implement pickling differently, e.g. by returning a byte string with the underlying memory representation. If producing a duplicate is still not acceptable, I recommend to inherit from the Pickler class. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4