diff options
author | Guido van Rossum <guido@python.org> | 2001-12-07 03:39:34 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-12-07 03:39:34 +0000 |
commit | f284538bc6154336d690557e4cfc61c9ea2d9385 (patch) | |
tree | fb9ff0c1737218ebde9058f5451426106565d7a7 /Python/pythonrun.c | |
parent | d204b3004ac526c70be66959aa6814eb86cc3a9d (diff) | |
download | cpython-f284538bc6154336d690557e4cfc61c9ea2d9385.tar.gz |
In unconditional except clauses, don't catch KeyboardInterrupt -- it's
annoying that often you have to hit ^C numerous times before it
works. The solution: before the "except:" clause, insert "except
KeyboardInterrupt: raise". This propagates KeyboardInterrupt out,
stopping the test in its tracks.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions