| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
If SQLITE_MISUSE is raised, it is a sqlite3 module bug. Users of the sqlite3 module are not responsible of using the SQLite C API correctly.
|
@serhiy-storchaka would you mind reviewing this? |
Sorry, something went wrong.
Failure to do so, will result in an assertion failure / segfault.
|
@serhiy-storchaka PTAL. I just fixed bug in _pysqlite_set_result that could result in a segfault. |
Sorry, something went wrong.
|
@malemburg would you mind taking a look at this PR? I'm slowly trying to align the exceptions raised with PEP 249. |
Sorry, something went wrong.
|
Looks like you didn't push the changes I previously asked for. |
Sorry, something went wrong.
Actually, it seems I forgot about this; I didn't make any changes yet :) I'll see if I can get to it any time soon. Thanks for the reminder! |
Sorry, something went wrong.
|
I'd like to run this through the Django test suite before eventually merging. Also, I'll have a talk with MAL regarding this change. |
Sorry, something went wrong.
I finally got to run this through the Django test suite, and it works all fine; one down, one to go. Observations while running the Django test suiteI got sidetracked with a long bisect operation because I was using SQLite 3.39.0 (development version), and because b899126 produces a ton of warnings in the Django test suite. I reverted b899126 and compiled strictly against SQLite 3.36.0 (macOS bundled), and all was ok. UPDATE: I had a chat the other day with @malemburg, to get his comments regarding three specific DB-API related changes in this PR. I take the liberty to quote him here (hope that's ok, Marc-Andre):
I will update the PR with the suggested change. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Improve exception compliancy with PEP 249
If SQLITE_MISUSE is raised, it is a sqlite3 module bug. Users of the
sqlite3 module are not responsible of using the SQLite C API correctly.
than one SQL statement.
Fixes #89022