[issue4106] multiprocessing occasionally spits out exception during shutdown
Antoine Pitrou
report at bugs.python.org
Wed Aug 24 22:02:48 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
Ok, I think the reason this doesn't appear in 3.2/3.3 is the fix for issue1856. In 2.x (and 3.1) daemon threads can continue executing after the interpreter's internal structures have started being destroyed.
The least intrusive solution is to always join the helper thread before shutting down the interpreter. Patch attached.
----------
keywords: +patch
stage: -> patch review
Added file: http://bugs.python.org/file23031/mpqshutdown.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4106>
_______________________________________
More information about the Python-bugs-list
mailing list