Message332899
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)
>>> |
|
| Date |
User |
Action |
Args |
| 2019-01-02 23:37:01 | remi.lapeyre | set | recipients:
+ remi.lapeyre, Anthony Sottile |
| 2019-01-02 23:36:59 | remi.lapeyre | set | messageid: <[email protected]> |
| 2019-01-02 23:36:59 | remi.lapeyre | link | issue35629 messages |
| 2019-01-02 23:36:59 | remi.lapeyre | create | |
|