Message364184
Also, notice that writing
Pool().map(sleep, [0.01] * 10)
is out of contact as the Pool object can
be collected immediately and there is no
proper termination and cleanup. The correct
way is to use the context manager:
with Pool() as pool:
pool.map(sleep, [0.01] * 10) |
|
Date |
User |
Action |
Args |
2020-03-14 15:41:12 | pablogsal | set | recipients:
+ pablogsal, arekm, pitrou, koobs, davin, AMDmi3 |
2020-03-14 15:41:12 | pablogsal | set | messageid: <1584200472.01.0.707209051367.issue38744@roundup.psfhosted.org> |
2020-03-14 15:41:12 | pablogsal | link | issue38744 messages |
2020-03-14 15:41:11 | pablogsal | create | |
|