Message330890
| Author | pablogsal |
|---|---|
| Recipients | pablogsal, pitrou, tzickel |
| Date | 2018-12-02.16:43:32 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1543769012.57.0.788709270274.issue35378@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
After applying the PRs in issue34172, multiprocessing.Pool.imap hangs on MacOs and Linux. This is a simple reproducer: import multiprocessing def the_test(): print("Begin") for x in multiprocessing.Pool().imap(int, ["4", "3"]): print(x) print("End") the_test() This happens because the IMapIterator does not maintain alive the multiprocessing.Pool object while it is still alive. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-12-02 16:43:32 | pablogsal | set | recipients: + pablogsal, pitrou, tzickel |
| 2018-12-02 16:43:32 | pablogsal | set | messageid: <1543769012.57.0.788709270274.issue35378@psf.upfronthosting.co.za> |
| 2018-12-02 16:43:32 | pablogsal | link | issue35378 messages |
| 2018-12-02 16:43:32 | pablogsal | create | |