[Python-checkins] gh-92547: Amend What's New (#93872)
erlend-aasland
webhook-mailer at python.org
Thu Jun 16 10:00:52 EDT 2022
https://github.com/python/cpython/commit/d5be9a5dff6d86a531417d95fa5ee5297fc81b5c
commit: d5be9a5dff6d86a531417d95fa5ee5297fc81b5c
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-06-16T16:00:43+02:00
summary:
gh-92547: Amend What's New (#93872)
files:
M Doc/whatsnew/3.12.rst
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 59eb4348cdca4..99b8a14468ffa 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
More information about the Python-checkins
mailing list