summaryrefslogtreecommitdiffstats
path: root/Modules/_sre.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-07 03:39:34 (GMT)
committerGuido van Rossum <guido@python.org>2001-12-07 03:39:34 (GMT)
commit202dd1ef420359c05814cbfcc5c27e71c90c16d9 (patch)
treedccbd6b3eef7f95d467647384cc6eb3cc361879b /Modules/_sre.c
parenteb4b7bad336481a34b2db01cbea809de726f9698 (diff)
downloadcpython-202dd1ef420359c05814cbfcc5c27e71c90c16d9.zip
cpython-202dd1ef420359c05814cbfcc5c27e71c90c16d9.tar.gz
cpython-202dd1ef420359c05814cbfcc5c27e71c90c16d9.tar.bz2
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 'Modules/_sre.c')
0 files changed, 0 insertions, 0 deletions