Re:Python Tips and Traps
by task_queue on Monday January 19, 2015 @04:24PM
(#8914179)
Use contextlib to write your context managers.
Thought the exception handling code was going to catch the all-encompassing use of 'except:' but nope. Don't do that.
[ Parent
| on HN ]