diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-11-29 15:22:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 15:22:32 (GMT) |
commit | c4a69a4ad035513ada1c0d41a46723606b538e13 (patch) | |
tree | 29ef43642bc01b65bfa9305d3e3c74952eff2d01 /Doc/whatsnew/3.11.rst | |
parent | 6ac3c8a3140c17bd71ba98dfc5250c371101e77c (diff) | |
download | cpython-c4a69a4ad035513ada1c0d41a46723606b538e13.zip cpython-c4a69a4ad035513ada1c0d41a46723606b538e13.tar.gz cpython-c4a69a4ad035513ada1c0d41a46723606b538e13.tar.bz2 |
bpo-45828: Use unraisable exceptions within sqlite3 callbacks (FH-29591)
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 9751f89..3b65921 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -248,7 +248,6 @@ sqlite3 (Contributed by Aviv Palivoda, Daniel Shahaf, and Erlend E. Aasland in :issue:`16379` and :issue:`24139`.) - * Add :meth:`~sqlite3.Connection.setlimit` and :meth:`~sqlite3.Connection.getlimit` to :class:`sqlite3.Connection` for setting and getting SQLite limits by connection basis. @@ -258,6 +257,12 @@ sqlite3 threading mode the underlying SQLite library has been compiled with. (Contributed by Erlend E. Aasland in :issue:`45613`.) +* :mod:`sqlite3` C callbacks now use unraisable exceptions if callback + tracebacks are enabled. Users can now register an + :func:`unraisable hook handler <sys.unraisablehook>` to improve their debug + experience. + (Contributed by Erlend E. Aasland in :issue:`45828`.) + threading --------- |