[issue5738] multiprocessing example wrong

Justin MacCallum report at bugs.python.org
Thu Jul 30 00:22:53 CEST 2009


Justin MacCallum <justin.maccallum at me.com> added the comment:

I think this should either be fixed or removed from the documentation. It 
is very confusing as is. I have next to no idea what I'm doing, but I've 
attached a patch that allows this code to function, at least sort of. You 
can now create cluster and pool objects and run jobs using map or 
apply_async, for example. However, there are still problems with the 
shutdown of the pool.

I would very much like to see this functionality working correctly and 
robustly. A distributed Pool class would be very useful in, e.g. 
scientific programming.

----------
keywords: +patch
nosy: +jlmaccal
Added file: http://bugs.python.org/file14602/mp_patch.diff

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


More information about the Python-bugs-list mailing list