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

This commit is contained in:
Vladimir 2021-01-05 16:18:46 -08:00 committed by GitHub
parent cf0b23908c
commit f9949f82e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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