mirror of https://github.com/python/cpython.git
bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)
This commit is contained in:
parent
cf0b23908c
commit
f9949f82e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue