]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] bpo-43853: Amend NEWS entry for latest changes in sqlite3 (GH-27922) (GH-27952)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Wed, 25 Aug 2021 19:26:28 +0000 (21:26 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Aug 2021 19:26:28 +0000 (20:26 +0100)
(cherry picked from commit 7903a1096343d8018e889029f025d39bdd077170)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Misc/NEWS.d/next/Library/2021-04-15-12-02-17.bpo-43853.XXCVAp.rst

index c5c3a0ae83c7f4a9cee753ae8696d891ba88aa97..a0164c4665a056ce12e4e860d0a411d60dc076b2 100644 (file)
@@ -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.