scope question

Skip Montanaro skip at
Fri Nov 16 09:10:09 CET 2001

    >> I've never closed a cursor object explicitly.  Failing to close it
    >> doesn't create a memory leak, with or without gc enabled.

    Paul> I thought failing to close cursors could cause leaks in Oracle.

That may well be, but the original question was about MySQLdb and I would
think Oracle has a bug if it can't clean up after itself if a client goes
away without explicitly closing all the cursors it was using.


More information about the Python-list mailing list