Rémi Lapeyre <remi.lape...@henki.fr> added the comment: I believe that this is similar to https://bugs.python.org/issue35378 on which @pablogsal is working.
You were right, the issue steems from a refcount bug. Until the resolution you can avoid the issue by explictly keeping a reference on the pool: >>> import multiprocessing >>> d = multiprocessing.Pool(4) >>> tuple(d.imap(print, (1, 2, 3))) 1 2 3 (None, None, None) >>> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35629> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com