[issue16379] SQLite error code not exposed to python

Gerhard Häring report at bugs.python.org
Sun Aug 23 18:16:33 CEST 2015


Gerhard Häring added the comment:

I propose to also set the SQLite extended error code if this is implemented.

What's the reasoning behind offering a error code to name mapping? This seem problematic to me. In case a newer SQLite version introduces a new error code, this error code cannot be found in the mapping. I propose to leave this out in order to not have this problem.

Otherwise we will have people depending on any error code being able to be found in this mapping.

----------

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


More information about the Python-bugs-list mailing list