This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <[email protected]>
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: <[email protected]>
2019-01-02 23:36:59remi.lapeyrelinkissue35629 messages
2019-01-02 23:36:59remi.lapeyrecreate