uqfoundation / dill

serialize all of Python

Home Page:http://dill.rtfd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to drop dill in python.multiprocessing?

adizhol opened this issue · comments

I'm trying to pickle objects that are not "pickable" using multiprcoessing.Process or multiprcoessing.manager.
Seems like importing dill at the head of my python program doesn't override the pickle functionality of multiprcoessing.
Is there a way to support this?

Thank you

use the package multiprocess instead of multiprocessing. https://pypi.org/project/multiprocess/ This package was specifically created as a fork of multiprocessing that can use dill.

Please reopen if this doesn't answer your question.