Author eryksun
Recipients Mark, eryksun, njs, terry.reedy
Date 2017-03-28.23:03:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Even is IDLE is started from a console, the user execution process 
> is not attached to one.

Actually, the execution process is attached to a console, but it doesn't use it for sys.std*. Try

    open('con', 'w').write('spam\n')

> It is much like closing a terminal Window with [X], and restarting 
> the terminal and python, instead of using ^C.

There's no default handler for SIGBREAK, so when working in the console it's typically better to use Ctrl+Break to kill Python. This preserves the console's arrow-key & F7 input history and scrollback buffer.
Date User Action Args
2017-03-28 23:03:37eryksunsetrecipients: + eryksun, terry.reedy, njs, Mark
2017-03-28 23:03:37eryksunsetmessageid: <>
2017-03-28 23:03:37eryksunlinkissue29926 messages
2017-03-28 23:03:37eryksuncreate