Antoine Pitrou <pit...@free.fr> added the comment:

Ok, I see. Would an option to disable the default SIGINT handlers (and let the 
OS kill the process) be an acceptable solution to your use case?

Keep in mind that letting the OS kill the process will bypass any destructors 
at the Python level, so for example some buffered file data may not be flushed 
properly, etc.

By the way, if I'm not mistaken, the problem is only with SIGINT, right?

----------
components: +Interpreter Core
title: SIGINT (Ctrl-C) not caught at startup -> It is impossible to catch 
sigint on startup in python code
type: crash -> enhancement
versions: +Python 3.3 -Python 3.2

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

Reply via email to