[issue29926] time.sleep ignores keyboard interrupt in IDLE

2017-03-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified on Win 10 with 3.6.1. What system are you running on? An automatic unittest test would be nice, but I cannot imagine how to write one. Even a human-verified htest (IDLE private term) would be good. Maybe I should write a live-interaction test sc

[issue29926] time.sleep ignores keyboard interrupt in IDLE

2017-03-27 Thread Mark
New submission from Mark: Consider the following code, typed interactively: >>> import time >>> time.sleep(1e6) This will sleep for a bit over one and a half weeks. If this was typed in error, you may want to interrupt it. If using the command line, this is easy: just use Ctrl-C. If using