summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-07 03:39:34 +0000
committerGuido van Rossum <guido@python.org>2001-12-07 03:39:34 +0000
commitf284538bc6154336d690557e4cfc61c9ea2d9385 (patch)
treefb9ff0c1737218ebde9058f5451426106565d7a7 /Python/pythonrun.c
parentd204b3004ac526c70be66959aa6814eb86cc3a9d (diff)
downloadcpython-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