You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most error cases, we can use the error indicator from the SQLite database pointer when we raise exceptions. However, for some SQLite C APIs, we have to use the result code directly. This is the case for some of the blob APIs, where the error indicator is not stored on the database pointer.
Currently, our "set error" handler only handles the case where the error indicator is set on the database pointer. We also need an Modules/_sqlite private API for raising exception from the SQLite C API result codes.
Activity
pythongh-129928: Rework sqlite3 error helpers
pythongh-129928: Rework sqlite3 error helpers
pythongh-129928: Raise more accurate exception for sqlite3 UDF creati…
pythongh-129928: Raise more accurate exception for sqlite3 UDF creati…
gh-129928: Raise more accurate exception for incorrect sqlite3 UDF cr…
gh-129928: Rework sqlite3 error helpers (#129929)