Timeline for answer to Making sure that all exceptions are caught in Python by Jon Martin
Current License: CC BY-SA 3.0
Post Revisions
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 25, 2011 at 18:25 | comment | added | Cédric Julien |
as said @Roman Bodnarchuk, except Exception will not catch some usefull exceptions like SystemExit, KeyboardInterrupt and GeneratorExit, to catch them all, use a pokeball (hem..), use a except BaseException.
|
|
| Jul 25, 2011 at 14:08 | comment | added | Roman Bodnarchuk |
this won't catch KeyboardInterrupt in Python >= 2.5
|
|
| Jul 25, 2011 at 14:07 | history | answered | Jon Martin | CC BY-SA 3.0 |