[issue17560] problem using multiprocessing with really big objects?
Richard Oudkerk
report at bugs.python.org
Mon Aug 19 20:53:43 CEST 2013
Richard Oudkerk added the comment:
> I could submit the part that makes it possible to customize the picklers
> of multiprocessing.pool.Pool instance to the standard library if people
> are interested.
2.7 and 3.3 are in bugfix mode now, so they will not change.
In 3.3 you can do
from multiprocessing.forking import ForkingPickler
ForkingPickler.register(MyType, reduce_MyType)
Is this sufficient for you needs? This is private (and its definition has moved in 3.4) but it could be made public.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17560>
_______________________________________
More information about the Python-bugs-list
mailing list