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

Pablo Galindo Salgado report at bugs.python.org
Sat Dec 1 21:59:24 EST 2018


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

multiprocessing.Pool.imap hangs in MacOs after applying this commit:

import multiprocessing

def the_test():
    print("Begin")
    for x in multiprocessing.Pool().imap(int,
            ["4", "3"]):
        print(x)
    print("End")

the_test()

This also happens in the backported branches.

----------
nosy: +pablogsal
status: closed -> open

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


More information about the docs mailing list