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.
Original issue reported on code.google.com by char...@declareSub.com on 22 Feb 2011 at 9:02
Original issue reported on code.google.com by
char...@declareSub.com
on 22 Feb 2011 at 9:02