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 Windson Yang
Recipients Windson Yang, tzickel
Date 2018-07-21.06:16:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> A. This does not happen, creating a Pool, deleting it and collecting the garbage, does not call terminate.

Would you give me an example how you delete the Pool and collecting the garbage? If you use context manager, It will call terminate() function.

> B. The documentation for Pool itself does not specify it has a context manager (but the examples show it).

You can find this info on the same page:

New in version 3.3: Pool objects now support the context management protocol – see Context Manager Types. __enter__() returns the pool object, and __exit__() calls terminate().
Date User Action Args
2018-07-21 06:16:49Windson Yangsetrecipients: + Windson Yang, tzickel
2018-07-21 06:16:49Windson Yangsetmessageid: <>
2018-07-21 06:16:49Windson Yanglinkissue34172 messages
2018-07-21 06:16:49Windson Yangcreate