[issue21822] KeyboardInterrupt during Thread.join hangs that Thread

Paul Goins report at bugs.python.org
Wed Apr 25 18:43:47 EDT 2018


Paul Goins <paul.d.goins at intel.com> added the comment:

I've confirmed this issue on Windows.  Attached is an SSCCE which seems to reliably reproduce the issue in a Windows environment.

Long story short: if a KeyboardInterrupt occurs during Thread.join(), there's a good chance that Thread._is_stopped never gets set.

----------
nosy: +pdgoins
versions: +Python 3.6
Added file: https://bugs.python.org/file47549/sscce_thread_join_fails_on_keyboardinterrupt.py

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


More information about the Python-bugs-list mailing list