Python Contextlib Closing
contextlib.closing for objects with close() method
Ensure close() is called even if exception occurs

Python Contextlib Closing
contextlib.closing for objects with close() method
Ensure close() is called even if exception occurs
