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 | 202dd1ef420359c05814cbfcc5c27e71c90c16d9 (patch) | |
| tree | dccbd6b3eef7f95d467647384cc6eb3cc361879b /Modules/_sre.c | |
| parent | eb4b7bad336481a34b2db01cbea809de726f9698 (diff) | |
| download | cpython-git-202dd1ef420359c05814cbfcc5c27e71c90c16d9.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 'Modules/_sre.c')
0 files changed, 0 insertions, 0 deletions
