Issue 21858: Enhance error handling in the sqlite module (original) (raw)
Issue21858
Created on 2014-06-24 09:50 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
sqlite_error_handling-wip.patch | vstinner,2014-06-24 09:50 | review |
Messages (2) | ||
---|---|---|
msg221445 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2014-06-24 09:50 |
The _sqlite module doesn't handle correctly Python errors. It may loose the current Python exception: test_sqlite fails when the patch of the issue #21857 is applied. Attached patch is a work-in-progress patch to fail earlier when Python raises an exception. | ||
msg221651 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2014-06-26 21:34 |
New changeset 62612b195cb5 by Victor Stinner in branch '3.4': Issue #21858: Better handling of Python exceptions in the sqlite3 module. http://hg.python.org/cpython/rev/62612b195cb5 New changeset 169171da66fa by Victor Stinner in branch 'default': (Merge 3.4) Issue #21858: Better handling of Python exceptions in the sqlite3 http://hg.python.org/cpython/rev/169171da66fa |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:05 | admin | set | github: 66057 |
2014-06-26 21:48:27 | vstinner | set | versions: + Python 3.4 |
2014-06-26 21:48:24 | vstinner | set | status: open -> closedresolution: fixed |
2014-06-26 21:34:24 | python-dev | set | nosy: + python-devmessages: + |
2014-06-24 09:50:54 | vstinner | create |