[issue38227] Setting a signal handler gets multiprocessing.Pool stuck
Antoine Pitrou
report at bugs.python.org
Fri Oct 4 08:34:51 EDT 2019
Antoine Pitrou <pitrou at free.fr> added the comment:
Several things here:
- you can perform critical cleanup with the atexit module; using a signal handler for that is extremely low-level and error-prone
- you can also try to switch to the "forkserver" method of multiprocessing, perhaps that will fix your issue
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38227>
_______________________________________
More information about the Python-bugs-list
mailing list