[issue38501] multiprocessing.Pool hangs atexit (and garbage collection sometimes)

Pablo Galindo Salgado report at bugs.python.org
Fri Apr 10 12:10:33 EDT 2020


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

> Not sure if there are any special considerations for Windows here.

It should not be anything windows specific here.

Also notice that although "it works", the reproducer in https://bugs.python.org/issue38501#msg354813 is out of contract because is not closing or terminating the pool correctly and is not using it with the context manager so if you are dealing with code equivalent to that I would suggest to take a look to properly finalize/finalize the pool to about similar problems (or other problems related to late finalization).

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list