Author terry.reedy
Recipients Mark, eryksun, louielu, martin.panter, njs, terry.reedy
Date 2017-06-29.18:11:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It appears you are right about open('con'...).

However, this issue is about the fact that 
>>> import time; time.sleep(10)

works in the console but does not work in the IDLE Shell in default mode.  In default mode (-n not on the command line) entered code is executed in a separate process and and ^C causes a message to be sent to the separate process to simulate ^C keypress by calling 'something'.

The indirect process works for 'normal' code like
>>> s = input('Hi')
so input() is not part of this issue, except that it or its interruption should not be broken.  Ditto for
>>> while True: pass
Date User Action Args
2017-06-29 18:11:41terry.reedysetrecipients: + terry.reedy, njs, martin.panter, Mark, eryksun, louielu
2017-06-29 18:11:41terry.reedysetmessageid: <>
2017-06-29 18:11:41terry.reedylinkissue29926 messages
2017-06-29 18:11:41terry.reedycreate