Message290761
> 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:37 | eryksun | set | recipients:
+ eryksun, terry.reedy, njs, Mark |
2017-03-28 23:03:37 | eryksun | set | messageid: <1490742217.43.0.26850263207.issue29926@psf.upfronthosting.co.za> |
2017-03-28 23:03:37 | eryksun | link | issue29926 messages |
2017-03-28 23:03:37 | eryksun | create | |
|