I'm trying to use a DictCursor with a
with MySQLdb.connect(...) as c:
c is a cursor because that's what is returned from the
__enter__ method of the context manager.
If you browse Mysqldb's source code, you'll be able to see in
line 245 of connections.py:
def __enter__(self): return self.cursor()
DictCursor, it does not support context management.