Timeline for answer to How Python decide which Exception Handling by Christian Tapia
Current License: CC BY-SA 3.0
Post Revisions
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 19, 2014 at 4:51 | history | edited | Christian Tapia | CC BY-SA 3.0 |
added 119 characters in body
|
| Jan 19, 2014 at 4:49 | comment | added | abarnert |
It's generally better to raise here than raise e. The documentation doesn't really explain why, but an implementation can often re-raise the current exception more efficiently, and in some cases it preserves more under-the-covers information (that you usually won't see, but can dig up in the debugger).
|
|
| Jan 19, 2014 at 4:42 | history | answered | Christian Tapia | CC BY-SA 3.0 |