[issue16379] SQLite error code not exposed to python

Ezio Melotti report at bugs.python.org
Fri Jan 1 16:41:58 EST 2016


Ezio Melotti added the comment:

I think the error message should display both the numeric code and also the error name if available.
Instead of using a mapping, perhaps an Enum could be used instead.

----------
stage: needs patch -> patch review
versions: +Python 3.6 -Python 3.4

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


More information about the Python-bugs-list mailing list