From: Erlend Egeberg Aasland Date: Wed, 25 Aug 2021 19:26:28 +0000 (+0200) Subject: [3.9] bpo-43853: Amend NEWS entry for latest changes in sqlite3 (GH-27922) (GH-27952) X-Git-Tag: v3.9.7~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ec17a2494412ea7d76f7d0567b73c1fffa88c18;p=thirdparty%2FPython%2Fcpython.git [3.9] bpo-43853: Amend NEWS entry for latest changes in sqlite3 (GH-27922) (GH-27952) (cherry picked from commit 7903a1096343d8018e889029f025d39bdd077170) Co-authored-by: Erlend Egeberg Aasland --- 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.