SolidDBConnection
A 'tough' version of DB-API 2 connections.
The SolidDBConnection class is accessible via the sqlapi.connect.solid module.
Methods
f __init__(self, connect_factory, dbapi_module, maxusage=0) ...
Create a 'tough' DB-API 2 connection.
f close(self) ...
Close the tough connection.
You are allowed to close a tough connection by default and it will not complain if you close it more than once.
You can disallow closing connections by setting the _closeable attribute to false. In this case, closing a connection will be silently ignored. @@ ianb: should it be ignored?
See the source for more information.