pickle_python_3

Create portable serialized representations of Python objects.

See module copyreg for a mechanism for registering custom picklers. See module pickletools source for extensive comments.

Classes:

Pickler Unpickler

Functions:

dump(object, file) dumps(object) -> string load(file) -> object loads(string) -> object

Misc variables:

__version__ format_version compatible_formats

exception PickleError[source]

Bases: Exception

A common base class for the other pickling exceptions.

exception PicklingError[source]

Bases: ClearMap.External.pickle_python_3.PickleError

This exception is raised when an unpicklable object is passed to the dump() method.

exception UnpicklingError[source]

Bases: ClearMap.External.pickle_python_3.PickleError

This exception is raised when there is a problem unpickling an object, such as a security violation.

Note that other exceptions may also be raised during unpickling, including (but not necessarily limited to) AttributeError, EOFError, ImportError, and IndexError.

Pickler

alias of ClearMap.External.pickle_python_3._Pickler

Unpickler

alias of ClearMap.External.pickle_python_3._Unpickler

dump(obj, file, protocol=None, *, fix_imports=True)
dumps(obj, protocol=None, *, fix_imports=True)
load(file, *, fix_imports=True, encoding='ASCII', errors='strict')
loads(s, *, fix_imports=True, encoding='ASCII', errors='strict')