Skip to content

Commit cf551b1

Browse files
author
Erlend E. Aasland
committed
Adjust NEWS entry and update What's New
1 parent fa5a1af commit cf551b1

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Doc/whatsnew/3.11.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@ sqlite3
218218
now raise :exc:`UnicodeEncodeError` instead of :exc:`sqlite3.ProgrammingError`.
219219
(Contributed by Erlend E. Aasland in :issue:`44688`.)
220220

221+
* :mod:`sqlite3` exceptions now include the SQLite error code as
222+
:attr:`~sqlite3.Error.sqlite_errorcode` and the SQLite error name as
223+
:attr:`~sqlite3.Error.sqlite_errorname`.
224+
(Contributed by Aviv Palivoda, Daniel Shahaf, and Erlend E. Aasland in
225+
:issue:`16379`.)
226+
221227

222228
Removed
223229
=======
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Add sqlite error code and name to the exceptions of the sqlite3 module.
2-
Patch by Aviv Palivoda based on work by Daniel Shahaf.
1+
Add SQLite error code and name to :mod:`sqlite3` exceptions.
2+
Patch by Aviv Palivoda, Daniel Shahaf, and Erlend E. Aasland.

0 commit comments

Comments
 (0)