![]() When context managers are used to save and restore values, we need to remember to use try/finally around the yield in case an exception is thrown. Otherwise, the cleanup will be skipped. |
||
---|---|---|
.. | ||
spack |
![]() When context managers are used to save and restore values, we need to remember to use try/finally around the yield in case an exception is thrown. Otherwise, the cleanup will be skipped. |
||
---|---|---|
.. | ||
spack |