From b34ca7e0515e6726cf5e938f7239de41df710cfd Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Wed, 25 Aug 2021 21:50:23 +0200 Subject: [3.10] bpo-43853: Amend NEWS entry for latest changes in sqlite3 (GH-27922). (GH-27953) (cherry picked from commit 7903a1096343d8018e889029f025d39bdd077170) Co-authored-by: Erlend Egeberg Aasland --- Misc/NEWS.d/3.10.0b3.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Misc/NEWS.d/3.10.0b3.rst b/Misc/NEWS.d/3.10.0b3.rst index ebbc000..5f399ad 100644 --- a/Misc/NEWS.d/3.10.0b3.rst +++ b/Misc/NEWS.d/3.10.0b3.rst @@ -192,9 +192,13 @@ improving entry point loading performance by ~10x. .. nonce: XXCVAp .. section: Library -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. .. -- cgit v0.12