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 <[email protected]>
<http://bugs.python.org/issue17560>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com