From: Erlend Egeberg Aasland Date: Wed, 25 Aug 2021 19:03:11 +0000 (+0200) Subject: bpo-43853: Amend NEWS entry for latest changes in sqlite3 (GH-27922) X-Git-Tag: v3.11.0a1~334 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7903a1096343d8018e889029f025d39bdd077170;p=thirdparty%2FPython%2Fcpython.git bpo-43853: Amend NEWS entry for latest changes in sqlite3 (GH-27922) --- diff --git a/Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst b/Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst index c5c3a0ae83c7..a0164c4665a0 100644 --- a/Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst +++ b/Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst @@ -1,3 +1,7 @@ -Improve :mod:`sqlite3` error handling: ``sqlite3_value_text()`` errors that -set ``SQLITE_NOMEM`` now raise :exc:`MemoryError`. Patch by Erlend E. -Aasland. +Improved string handling for :mod:`sqlite3` user-defined functions and +aggregates: + +* It is now possible to pass strings with embedded null characters to UDFs +* Conversion failures now correctly raise :exc:`MemoryError` + +Patch by Erlend E. Aasland.