This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <1490742217.43.0.26850263207.issue29926@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2017-03-28 23:03:37eryksunsetrecipients: + eryksun, terry.reedy, njs, Mark
2017-03-28 23:03:37eryksunsetmessageid: <1490742217.43.0.26850263207.issue29926@psf.upfronthosting.co.za>
2017-03-28 23:03:37eryksunlinkissue29926 messages
2017-03-28 23:03:37eryksuncreate