From 45037ea39db6f8994519ca3346a057a644cd1185 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Wed, 15 Jun 2022 20:20:10 +0200 Subject: [PATCH] gh-92547: Amend What's New --- Doc/whatsnew/3.12.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 59eb4348cdca47..99b8a14468ffa4 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -184,6 +184,14 @@ Removed * ``sqlite3.enable_shared_cache()`` * ``sqlite3.OptimizedUnicode`` + If a shared cache must be used, open the database in URI mode using the + ``cache=shared`` query parameter. + + The ``sqlite3.OptimizedUnicode`` text factory has been an alias for + :class:`str` since Python 3.3. Code that previously set the text factory to + ``OptimizedUnicode`` can either use ``str`` explicitly, or rely on the + default value which is also ``str``. + (Contributed by Erlend E. Aasland in :gh:`92548`) * The ``--experimental-isolated-subinterpreters`` configure flag