]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)
authorVladimir <greatvovan@gmail.com>
Wed, 6 Jan 2021 00:18:46 +0000 (16:18 -0800)
committerGitHub <noreply@github.com>
Wed, 6 Jan 2021 00:18:46 +0000 (02:18 +0200)
Doc/library/sqlite3.rst

index 5f9a26a7bb16ca1599b1d06f8921077b0b0a9032..d80e952ce99243d660532a8eff6c5ffb59e638ad 100644 (file)
@@ -1089,19 +1089,6 @@ committed:
 .. literalinclude:: ../includes/sqlite3/ctx_manager.py
 
 
-Common issues
--------------
-
-Multithreading
-^^^^^^^^^^^^^^
-
-Older SQLite versions had issues with sharing connections between threads.
-That's why the Python module disallows sharing connections and cursors between
-threads. If you still try to do so, you will get an exception at runtime.
-
-The only exception is calling the :meth:`~Connection.interrupt` method, which
-only makes sense to call from a different thread.
-
 .. rubric:: Footnotes
 
 .. [#f1] The sqlite3 module is not built with loadable extension support by