Skip to content

Commit 217da20

Browse files
author
Erlend E. Aasland
committed
Expand explanatory comment
1 parent 22fdb3d commit 217da20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Modules/_sqlite/connection.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,8 +819,9 @@ final_callback(sqlite3_context *context)
819819
_PyErr_ChainExceptions(exception, value, tb);
820820

821821
/* Note: contrary to the step, value, and inverse callbacks, SQLite
822-
* does not, as of SQLite 3.38.0, propagate errors to sqlite3_step()
823-
* from the finalize callback. */
822+
* does _not_, as of SQLite 3.38.0, propagate errors to sqlite3_step()
823+
* from the finalize callback. This implies that execute*() will not
824+
* raise OperationalError, as it normally would. */
824825
set_sqlite_error(context, attr_err
825826
? "user-defined aggregate's 'finalize' method not defined"
826827
: "user-defined aggregate's 'finalize' method raised error");

0 commit comments

Comments
 (0)