[Python-ideas] IDEA: do not alter default SIGINT handling

MRAB python at mrabarnett.plus.com
Mon Sep 14 01:53:22 CEST 2009


Benjamin Peterson wrote:
> Bernie Innocenti <bernie at ...> writes:
>> If we could break the syntax of "print" statements, I'm sure we
>> can also find a satisfactory compromise for CTRL-C handling that
>> won't affect more than 0.1% of existing Python programs.
> 
> It would actually be a huge compatibility break because finally statments would
> no longer be garunteed to execute.
> 
Perhaps CTRL-C could be left as-is but also have a 'stronger' version
like SHIFT-CTRL-C.



More information about the Python-ideas mailing list