Author terry.reedy
Recipients Mark, terry.reedy
Date 2017-03-28.02:16:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Scratch my confusion.  I added "print('after')" immediately after _thread.interrupt_main() in and 'after' is printed in Shell right after I hit ^C but a time.sleep(10) is not immediately interrupted and 'KeyboardInterrupt' does not show for nearly 10 seconds.  I don't know if this is a bug or unavoidable limitation not mentioned in the _thread doc.  I might be system dependent.
Date User Action Args
2017-03-28 02:16:24terry.reedysetrecipients: + terry.reedy, Mark
2017-03-28 02:16:24terry.reedysetmessageid: <>
2017-03-28 02:16:24terry.reedylinkissue29926 messages
2017-03-28 02:16:24terry.reedycreate