Ed Leafe wrote: > On Feb 24, 2008, at 10:20 PM, johnf wrote: > >> Just using psycopg to access a table (no Dabo) and using a >> "connection.close()" I get no error. This looks like a Dabo bug >> because >> self._connection.close() should be called. > > When the connection object is released, psycopg should be > automatically closing the connection. That's standard behavior in dbapi. > > If it isn't, we could always add an explicit close() call in the > dConnection code.
From dDataSet.py: def __del__(self): if self._cursor is not None: self._cursor.close() if self._connection is not None: self._connection.close() dConnection doesn't have a __del__ method. Uwe _______________________________________________ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]