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

mattip report at bugs.python.org
Sun Jul 22 21:59:55 EDT 2018


mattip <matti.picus at gmail.com> added the comment:

It would be sufficient to modify the documentation to reflect the code. 

There are other objects like `file` that recommend[0] calling a method to release resources without depending on implementation-specific details like garbage collection.

[0] https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files

----------
nosy: +mattip

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


More information about the Python-bugs-list mailing list