[issue16379] SQLite error code not exposed to python

Daniel Shahaf report at bugs.python.org
Fri Dec 28 22:09:17 CET 2012


Daniel Shahaf added the comment:

Attached patch that:

- Adds sqlite3.SQLITE_OK constants
- Adds sqlite3.errorcode dictionary
- Adds "sqlite_errcode" attribute to sqlite.Error instances

The patch does not add support for extended result codes
(http://www.sqlite.org/c3ref/c_abort_rollback.html).

----------
keywords: +patch
Added file: http://bugs.python.org/file28470/i16379-v1.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16379>
_______________________________________


More information about the Python-bugs-list mailing list