Lines Matching refs:pickle
5 …alternative approach is to use Python's pickle module. Exploiting Python's ability for introspecti…
7 …e pickle module through the interface as described in detail in the [@https://docs.python.org/2/li…
10 At the user level, the Boost.Python pickle interface involves three special methods:
14 If `__getinitargs__` is not defined, `pickle.load` will call the constructor (`__init__`) without a…
16 …tance of a `Boost.Python` extension class is restored by the unpickler (`pickle.load`), it is firs…
22 There are three files in `python/test` that show how to provide pickle support.
24 …te argument to the constructor. Therefore it is sufficient to define the pickle interface method `…
25 Definition of the C++ pickle function:
46 …ore it is necessary to provide the `__getstate__`/`__setstate__` pair of pickle interface methods:
48 Definition of the C++ pickle functions:
90 The pickle protocol described above has an important pitfall that the end user of a Boost.Python ex…
101 RuntimeError: Incomplete pickle support (__getstate_manages_dict__ not set)
130 …on classes, providing complete pickle support for all classes would be a significant overhead. In …
135 [section Light-weight alternative: pickle support implemented in Python]
136 The pickle4.cpp example demonstrates an alternative technique for implementing pickle support. Firs…
144 This enables the standard Python pickle interface as described in the Python documentation. By "inj…