]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92547: Amend What's New (#93872)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Thu, 16 Jun 2022 14:00:43 +0000 (16:00 +0200)
committerGitHub <noreply@github.com>
Thu, 16 Jun 2022 14:00:43 +0000 (16:00 +0200)
Doc/whatsnew/3.12.rst

index 59eb4348cdca476ef33136751febe9339ec4987b..99b8a14468ffa4a3e888573750ed3a611ef3c019 100644 (file)
@@ -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