mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
![]() * MemoryError is now raised instead of sqlite3.Warning when memory is not enough for encoding a statement to UTF-8 in Connection.__call__() and Cursor.execute(). * UnicodEncodeError is now raised instead of sqlite3.Warning when the statement contains surrogate characters in Connection.__call__() and Cursor.execute(). * TypeError is now raised instead of ValueError for non-string script argument in Cursor.executescript(). * ValueError is now raised for script containing the null character instead of truncating it in Cursor.executescript(). * Correctly handle exceptions raised when getting boolean value of the result of the progress handler. * Add many tests covering different corner cases. Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> |
||
---|---|---|
.. | ||
clinic | ||
connection.c | ||
connection.h | ||
cursor.c | ||
cursor.h | ||
microprotocols.c | ||
microprotocols.h | ||
module.c | ||
module.h | ||
prepare_protocol.c | ||
prepare_protocol.h | ||
row.c | ||
row.h | ||
statement.c | ||
statement.h | ||
util.c | ||
util.h |