New submission from Matthew Leon Grinshpun <vertesp...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6407> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com