Hacker News new | ask | show | jobs
by splike 3164 days ago
Indeed it is.

My workaround for the failures of pickle is to use pathos. The API for the multiprocessing module is almost identical to the default multiprocessing module which makes it easy to use as a drop in replacement. Pathos uses Dill to serialise, which can serialise many more things, but you have to pay the price in performance. Although again, you can't swap out Dill for the serialiser of your choice.