Exceptions & Context Managers

Cleanup you can trust.

0 / 8 solved
0/8 solved
Question Tags Difficulty Success
1. Else and Finally Timing
try-exceptelse-clause +2
Medium —
2. Explicit Cause Chaining
exception-chainingraise-from +1
Medium —
3. Finally Return Overrides Try
finallyreturn-override +1
Medium —
4. Cleanup Guarantee in contextmanager
context-managercontextlib +2
Medium —
5. Propagation Past a Mismatched Except
exception-propagationcustom-exceptions +2
Hard —
6. Exit Suppressing an Exception
context-managerdunder-exit +1
Hard —
7. Finally Return Swallows an Exception
finallyexception-suppression +1
Hard —
8. Implicit Exception Context
exception-chainingimplicit-context +1
Hard —

Up next

8 of 8 questions here are still unsolved.