From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 6 Jan 2021 00:21:57 +0000 (-0800) Subject: bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159) X-Git-Tag: v3.8.8rc1~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=03a079f7cf8eacc29ea616060916e8a63ba6e5ba;p=thirdparty%2FPython%2Fcpython.git bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159) (cherry picked from commit f9949f82e17c88609adb53eff3a7d5cd63a645bd) Co-authored-by: Vladimir --- diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index e49332449589..9459f9175827 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