This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gruszczy
Recipients dontbugme, gruszczy
Date 2009-11-30.13:40:40
SpamBayes Score 1.1285641e-09
Marked as misclassified No
Message-id <1259588443.24.0.799117446695.issue7394@psf.upfronthosting.co.za>
In-reply-to
Content
I have created some naive patch, that makes sqlite module raise
ProgrammingError for SQLITE_ERROR code. But I don't know, whether it
might raise ProgrammingError in situation, when OperationalError should be.

Sqlite docs says: 

#define SQLITE_ERROR        1   /* SQL error or missing database */

and I don't really know, whether missing database is operational error
or a programming one. Seems like the first one, but this would error
message string parsing, that doesn't seem to pretty. Could anyone
suggest me, what else could be done?
History
Date User Action Args
2009-11-30 13:40:43gruszczysetrecipients: + gruszczy, dontbugme
2009-11-30 13:40:43gruszczysetmessageid: <1259588443.24.0.799117446695.issue7394@psf.upfronthosting.co.za>
2009-11-30 13:40:42gruszczylinkissue7394 messages
2009-11-30 13:40:41gruszczycreate