Paul Goins <paul.d.go...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue21822> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com