[New-bugs-announce] [issue6407] multiprocessing Pool should allow custom task queue

Matthew Leon Grinshpun report at bugs.python.org
Fri Jul 3 15:23:18 CEST 2009


New submission from Matthew Leon Grinshpun <vertespain at gmail.com>:

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 size. It seems to me that simply moving
the taskqueue assignment into _setup_queues() would do the trick.

The following usenet group discussion contains further details:

http://groups.google.com/group/comp.lang.python/browse_thread/thread/e6c67a09fb20cdec#

----------
components: Library (Lib)
messages: 90052
nosy: masher
severity: normal
status: open
title: multiprocessing Pool should allow custom task queue
type: feature request
versions: Python 3.1

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


More information about the New-bugs-announce mailing list