Gerhard Häring <g...@ghaering.de> added the comment: The error code SQLITE_ERROR from SQLite is used for "runtime errors". These can either be caused by the programmer (table does not exist, SQL contains errors) or they can be other problems like constraint violations etc.
To differentiate these we would need to parse the error message returned by sqlite3_errmsg(). This is a path I don't want to go: it's hard to get this right across current and future SQLite versions. So I'm closing this issue as wontfix. ---------- assignee: -> ghaering resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7394> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com