cpython/Modules/_sqlite
Erlend Egeberg Aasland 4674fd4e93
bpo-44859: Raise more accurate exceptions in `sqlite3` (GH-27695)
* Improve exception compliance with PEP 249
* Raise InterfaceError instead of ProgrammingError for SQLITE_MISUSE.
  If SQLITE_MISUSE is raised, it is a sqlite3 module bug. Users of the
  sqlite3 module are not responsible for using the SQLite C API correctly.
* Don't overwrite BufferError with ValueError when conversion to BLOB fails.
* Raise ProgrammingError instead of Warning if user tries to execute() more
  than one SQL statement.
* Raise ProgrammingError instead of ValueError if an SQL query contains null characters.
* Make sure `_pysqlite_set_result` raises an exception if it returns -1.
2022-03-16 22:58:25 -07:00
..
clinic sqlite3: normalise pre-acronym determiners (GH-31772) 2022-03-10 17:52:47 -08:00
connection.c bpo-44859: Raise more accurate exceptions in `sqlite3` (GH-27695) 2022-03-16 22:58:25 -07:00
connection.h bpo-45512: Simplify manage isolation level (GH-29562) 2021-11-17 21:47:02 +09:00
cursor.c sqlite3: normalise pre-acronym determiners (GH-31772) 2022-03-10 17:52:47 -08:00
cursor.h bpo-44092: Remove unused member `reset` from `sqlite3.Cursor` (GH-30377) 2022-01-03 15:47:16 -08:00
microprotocols.c bpo-46541: Replace _Py_IDENTIFIER with _Py_ID in sqlite3 (GH-31351) 2022-02-17 00:24:44 +09:00
microprotocols.h bpo-42064: Convert `sqlite3` global state to module state (GH-29073) 2021-10-27 13:12:21 +02:00
module.c bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) 2022-03-07 20:18:41 -08:00
module.h bpo-46874: Speed up sqlite3 user-defined aggregate 'step' method (GH-31604) 2022-03-03 22:54:36 +09:00
prepare_protocol.c bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) 2021-06-17 11:06:09 +01:00
prepare_protocol.h Remove unused UNKNOWN macros from cursor.h and prepare_protocol.h (GH-27885) 2021-08-22 22:23:45 +09:00
row.c bpo-42064: Convert `sqlite3` global state to module state (GH-29073) 2021-10-27 13:12:21 +02:00
row.h bpo-42064: Remove stale extern declarations in `sqlite3` headers (GH-26840) 2021-06-23 21:06:53 +09:00
statement.c bpo-44859: Raise more accurate exceptions in `sqlite3` (GH-27695) 2022-03-16 22:58:25 -07:00
statement.h bpo-44958: Revert GH-27844 (GH-28574) 2021-09-26 22:24:19 +01:00
util.c bpo-24139: Add support for SQLite extended result codes (GH-28076) 2021-11-02 23:49:38 +00:00
util.h bpo-42064: Optimise `sqlite3` state access, part 1 (GH-27273) 2021-07-29 02:21:45 -07:00