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

Mike Meyer mwm-keyword-python.b4bdba at mired.org
Mon Sep 14 01:38:47 CEST 2009

On Sun, 13 Sep 2009 21:35:56 +0000 (UTC)
Benjamin Peterson <benjamin at python.org> 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.

They aren't now. os._exit() skips unwinding the try/except chain
before exiting.


Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

More information about the Python-ideas mailing list