Issue 158: Add context manager support for pyodbc.Cursor
Status:  New
Owner: ----
Reported by char...@declareSub.com, Feb 22, 2011
It's quite nice that context manager support was added for pyodbc.Connection; now I'd like it for Cursor as well.

Since Cursor, like Connection, is a closeable thing, I would expect that if Connection has context manager support, then so would Cursor.  

As I understand it, not all implementations of Python use reference counting, and so some people claim that the better practice is to write code that does not assume it.