Michael <mapoz...@yahoo.com> added the comment:

Attached working patch.
Tested with signal handler set in Lib/test/_test_multiprocessing.py:

2329a2330,2331
> def signal_handler(signum, frame):
>     pass
2335a2338
>         cls.old_handler = signal.signal(signal.SIGTERM, signal_handler)
2342a2346
>         signal.signal(signal.SIGTERM, cls.old_handler)

All passing.

----------
keywords: +patch
Added file: https://bugs.python.org/file49131/pool.py.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38227>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to