Skip to content

Use cloudpickle to load instead of pickle - #3180

Merged
jcrist merged 1 commit into
dask:masterfrom
jakirkham:fix_loads_cloudpickle
Feb 20, 2018
Merged

jcrist merged 1 commit into
dask:masterfrom
jakirkham:fix_loads_cloudpickle

Conversation

@jakirkham

Copy link
Copy Markdown
Member

Appears that _loads (the loads default in multiprocessing) was set to pickle.loads instead of cloudpickle.loads. This in spite of the fact that commit ( 4322fef ), which added this states intent was to use cloudpickle instead of dill.

xref: #865

Appears that `_loads` (the `loads` default in `multiprocessing`) was set
to `pickle.loads` instead of `cloudpickle.loads`. This in spite of the
fact that commit ( 4322fef ), which
added this states intent was to use `cloudpickle` instead of `dill`.
@mrocklin

mrocklin commented Feb 20, 2018 via email

Copy link
Copy Markdown
Member

@jcrist

jcrist commented Feb 20, 2018

Copy link
Copy Markdown
Member

This currently changes nothing (since cloudpickle.loads is pickle.loads), but is harmless and maybe more clear overall. Merging.

@jcrist
jcrist merged commit 5a5ea67 into dask:master Feb 20, 2018
@jakirkham
jakirkham deleted the fix_loads_cloudpickle branch February 20, 2018 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants