Terry J. Reedy <tjre...@udel.edu> added the comment:

Just a bit more info: ^D and ^\ in Command Prompt interpreter print '^D' or 
'^\'. Return causes syntax error. ^Z\n in interpreter causes silent close. 
(Because DOS used ^Z as end-of-file.)
^D in IDLE causes silent close. IDLE ignores ^\ and ^Z both -- nothing printed 
or stored. Following \n gets prompt back. The difference is not nice for 
Windows users, but I presume IDLE behavior is same as on *nix and consider 
consistency across platforms good and should be kept.

If I understand, IDLE needs to install a SIGQUIT handler to terminate the 
background process 'resource'. That should work on Windows too as either 
SIGQUIT will never happens, or if it does, same should happen on Windows too. I 
know SIGKILL cannot be caught. What about SIGTERM?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14440>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to