[Python-checkins] bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)

berkerpeksag webhook-mailer at python.org
Wed Jan 6 15:57:44 EST 2021


https://github.com/python/cpython/commit/49c150f1f16398a4e77e051244f27adc5ac7b47b
commit: 49c150f1f16398a4e77e051244f27adc5ac7b47b
branch: 3.9
author: Vladimir <greatvovan at gmail.com>
committer: berkerpeksag <berker.peksag at gmail.com>
date: 2021-01-06T22:57:24+02:00
summary:

bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)

(cherry picked from commit f9949f82e17c88609adb53eff3a7d5cd63a645bd)

files:
M Doc/library/sqlite3.rst

diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index fc9ad2e113e11..7dc2cc48c4753 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -1093,19 +1093,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



More information about the Python-checkins mailing list