Skip to content

Commit

Permalink
bpo-38413: Remove outdated section about multithreading in sqlite3 (G…
Browse files Browse the repository at this point in the history
  • Loading branch information
greatvovan committed Jan 6, 2021
1 parent cf0b239 commit f9949f8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9949f8

Please sign in to comment.