sqlite3 doesn't raise exception if database is not present/inaccessible

Ravi ra.ravi.rav at gmail.com
Sat Nov 13 11:54:54 EST 2010


try this:

import sqlite3
con = sqlite3.connect("any string here")

and there is no error reported. You will get an error you do some
operations on the database which is confusing. I think sqlite3 should
change this behavior.



More information about the Python-list mailing list