Skip to content

Commit d5be9a5

Browse files
gh-92547: Amend What's New (#93872)
1 parent 9a458be commit d5be9a5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/whatsnew/3.12.rst

+8
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ Removed
184184
* ``sqlite3.enable_shared_cache()``
185185
* ``sqlite3.OptimizedUnicode``
186186

187+
If a shared cache must be used, open the database in URI mode using the
188+
``cache=shared`` query parameter.
189+
190+
The ``sqlite3.OptimizedUnicode`` text factory has been an alias for
191+
:class:`str` since Python 3.3. Code that previously set the text factory to
192+
``OptimizedUnicode`` can either use ``str`` explicitly, or rely on the
193+
default value which is also ``str``.
194+
187195
(Contributed by Erlend E. Aasland in :gh:`92548`)
188196

189197
* The ``--experimental-isolated-subinterpreters`` configure flag

0 commit comments

Comments
 (0)