[issue24519] multiprocessing.Pool with maxtasksperchild starts too many processes

2015-06-27 Thread Zahari Dim
New submission from Zahari Dim: The following example should start two processes, but instead it starts three, even though only two do_work(). A third process is incorrectly started after the first one finishes. import os import time from multiprocessing import Pool def initprocess():

[issue24519] multiprocessing.Pool with maxtasksperchild starts too many processes

2015-06-27 Thread Zahari Dim
Changes by Zahari Dim zaha...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24519 ___ ___ Python-bugs-list