Matthew Leon Grinshpun added the comment:
I should be able to do this in November. For the moment I'm a bit busy.
--
___
Python tracker
<http://bugs.python.org/i
Matthew Leon Grinshpun added the comment:
I have attached a patch. All I did was shift the one line from __init__
to _setup_queues.
That's it.
You could take advantage of the change in the following way:
class BlockingPool(pool.Pool):
def _setup_queues(self):
pool
New submission from Matthew Leon Grinshpun :
Multiprocessing's Pool class __init__ method is written in a way that
makes it very difficult for a subclass to modify self._taskqueue. There
are very good reasons for wanting to do this - ie, making the taskqueue
block when it reaches a certain