[Python-Dev] Catch SIGINT at Python startup (original) (raw)
Guido van Rossum guido at python.org
Mon Mar 8 19:34:12 CET 2010
- Previous message: [Python-Dev] Catch SIGINT at Python startup
- Next message: [Python-Dev] Catch SIGINT at Python startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Mar 8, 2010 at 10:21 AM, Maciej Fijalkowski <fijall at gmail.com> wrote:
On Mon, Mar 8, 2010 at 10:47 AM, Guido van Rossum <guido at python.org> wrote:
Actually it sounds like there's some overly general except clause somewhere that should be adjusted to catch just "Exception" instead of "*".
There is at least one that prints "import 'site' failed" and continues to run your program.
Yeah, it shouldn't do that. The ^C should fall through.
-- --Guido van Rossum (python.org/~guido)
- Previous message: [Python-Dev] Catch SIGINT at Python startup
- Next message: [Python-Dev] Catch SIGINT at Python startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]