[issue28053] parameterize what serialization is used in multiprocessing

Will S report at bugs.python.org
Fri Jul 28 16:19:04 EDT 2017


Will S added the comment:

Just to follow up in case anyone comes across my last message later:

I just had to change the last line from

multiprocessing.reducer = pickle2reducer.Pickle2Reducer()

to

multiprocessing.context._default_context.reducer = pickle2reducer.Pickle2Reducer()

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28053>
_______________________________________


More information about the Python-bugs-list mailing list