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: <[email protected]> |
| 2020-03-14 15:41:12 | pablogsal | link | issue38744 messages |
| 2020-03-14 15:41:11 | pablogsal | create | |
|