Extended pickling support for Python objects
copied from conda-forge / cloudpicklecloudpickle is extended pickling support for Python objects. cloudpickle makes it possible to serialize Python constructs not supported by the default pickle module from the Python standard library.