OK, my next question would be - is MySQL, PostgreSQL, Informix, Oracle,
etc next, and is this the path we want to take, or is there something
about sqlite that makes it unique?
Grisha
On Thu, 22 Sep 2005, Robert Sanderson wrote:
Can we have a little discussion on pros/cons of this? Does this make
mod_python dependent on sqlite?
Nope. It'll just silently fail if it can't import dbapi2.
Rob
+try:
+ # If this code is included into Session.py,
+ # we don't want to add a dependency to SQLite
+ from pysqlite2 import dbapi2 as sqlite
+except:
+ pass
+else:
+ class SQLiteSession(BaseSession):