summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>2022-06-16 14:00:43 (GMT)
committerGitHub <noreply@github.com>2022-06-16 14:00:43 (GMT)
commitd5be9a5dff6d86a531417d95fa5ee5297fc81b5c (patch)
tree826b41acd2ee7e68b1ada16a8107a8db118fa9aa
parent9a458befdd68625d088f4fea7df135a57d147deb (diff)
downloadcpython-d5be9a5dff6d86a531417d95fa5ee5297fc81b5c.zip
cpython-d5be9a5dff6d86a531417d95fa5ee5297fc81b5c.tar.gz
cpython-d5be9a5dff6d86a531417d95fa5ee5297fc81b5c.tar.bz2
gh-92547: Amend What's New (#93872)
-rw-r--r--Doc/whatsnew/3.12.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 59eb434..99b8a14 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