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 pablogsal
Recipients AMDmi3, arekm, davin, koobs, pablogsal, pitrou
Date 2020-03-14.15:41:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584200472.01.0.707209051367.issue38744@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2020-03-14 15:41:12pablogsalsetrecipients: + pablogsal, arekm, pitrou, koobs, davin, AMDmi3
2020-03-14 15:41:12pablogsalsetmessageid: <1584200472.01.0.707209051367.issue38744@roundup.psfhosted.org>
2020-03-14 15:41:12pablogsallinkissue38744 messages
2020-03-14 15:41:11pablogsalcreate