4 ms·
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 t
by task_queue 12y ago
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.
- ryan_sb 12y agoI don't know how I've missed out on contextlib all this time. I'll update that section.