scope question

Skip Montanaro skip at pobox.com
Fri Nov 16 03:10:09 EST 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.

Skip




More information about the Python-list mailing list