[docs] [issue34172] multiprocessing.Pool and ThreadPool leak resources after being deleted

tzickel report at bugs.python.org
Sun Dec 2 02:30:10 EST 2018


tzickel <icebreak at yahoo.com> added the comment:

A. It would be nice to add a test that tests this.
B. Now that Pool is cleaning up properly, any of it's functions which return another object (like imap's IMapIterator) need to hold a reference to the Pool, so it won't get cleanedup before computing.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34172>
_______________________________________


More information about the docs mailing list