Aviv Palivoda added the comment: Attached is a patch based on Daniel last patch with the following changes:
* There is no errorcode mapping. * The exception object has a error_name attribute. I think this two changes should solve the API problems raised by Ezio and Gerhard about the error code mapping. > I propose to also set the SQLite extended error code if this is implemented. I think that this should be done in a separate patch. I will start working on the extended error code and will upload a patch to issue 24139. ---------- nosy: +palaviv Added file: https://bugs.python.org/file44213/16379.patch _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue16379> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com