Message 332899 - Python tracker

Message332899

Author remi.lapeyre
Recipients Anthony Sottile, remi.lapeyre
Date 2019-01-02.23:36:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546472219.79.0.754141845148.issue35629@roundup.psfhosted.org>
In-reply-to
Content
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)
>>>
History
Date User Action Args
2019-01-02 23:37:01remi.lapeyresetrecipients: + remi.lapeyre, Anthony Sottile
2019-01-02 23:36:59remi.lapeyresetmessageid: <1546472219.79.0.754141845148.issue35629@roundup.psfhosted.org>
2019-01-02 23:36:59remi.lapeyrelinkissue35629 messages
2019-01-02 23:36:59remi.lapeyrecreate