Skip to content

replacing dill with cloudpickle ? #22

Closed

Description

@stonebig

On windows dill is a problem.

Would it be easy to replace it with cloudpickle, as did the "dask" package ?
dask/dask#865

Activity

  1. mmckerns commented on Aug 29, 2016

    @mmckerns
    Member

    In terms of object serialization, I believe that dill is more robust than cloudpickle against the set of standard python objects -- however cloudpickle can handle some cases that dill does not, or at least the default dill.settings do not. The typical thing that is done in cases like this is to abstract the serializer, which could be done with little problem. This has been the practice of IPython (in parallel), mpi4py, and other packages.

    So unless you are referencing the issue that dill uses pyreadline (uqfoundation/dill#171), the answer I believe is yes, it should be somewhat easy. If you are referencing the pyreadline issue, then that's a dill issue, and probably even easier as multiprocess would not need to change at all.

  2. added this to the multiprocess-0.70.6 milestone on Jun 22, 2018
  3. mmckerns commented on Jun 22, 2018

    @mmckerns
    Member

    this is essentially a duplicate of #5. Closing... but will focus on cloudpickle as the alternate serializer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions