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
cursor.c sqlite3: normalise pre-acronym determiners (GH-31772) 2022-03-10 17:52:47 -08:00
cursor.h
microprotocols.c bpo-46541: Replace _Py_IDENTIFIER with _Py_ID in sqlite3 (GH-31351) 2022-02-17 00:24:44 +09:00
microprotocols.h
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
prepare_protocol.h
row.c
row.h
statement.c bpo-44859: Raise more accurate exceptions in sqlite3 (GH-27695) 2022-03-16 22:58:25 -07:00
statement.h
util.c
util.h