[Python-Dev] Catch SIGINT at Python startup

Maciej Fijalkowski fijall at gmail.com
Mon Mar 8 19:21:20 CET 2010


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.

Cheers,
fijal


More information about the Python-Dev mailing list