On May 18, 2016, at 08:11 AM, Ethan Furman wrote:
Not at all. It's a good use-case, and it helped introduce/remind us about ExitStack (which I suspect is a hidden gem).
A beautiful one.
http://www.wefearchange.org/2013/05/resource-management-in-python-33-or.html
Cheers, -Barry