Message195657
> 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. |
|
Date |
User |
Action |
Args |
2013-08-19 18:53:43 | sbt | set | recipients:
+ sbt, pitrou, mrjbq7, neologix, Olivier.Grisel |
2013-08-19 18:53:43 | sbt | set | messageid: <1376938423.42.0.935004786492.issue17560@psf.upfronthosting.co.za> |
2013-08-19 18:53:43 | sbt | link | issue17560 messages |
2013-08-19 18:53:43 | sbt | create | |
|