[issue3846] sqlite3 module: Improved concurrency

Amaury Forgeot d'Arc report at bugs.python.org
Fri Sep 12 16:26:31 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Your patch seems obvious, however:

- Is there the possibility that sqlite3_prepare() calls back into a
function in the _sqlite module or other python code? In this case the
GIL has to be re-acquired.

- What if another thread closes the current connection (or drop a table,
etc.) in-between? Is sqlite really thread-safe?

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3846>
_______________________________________


More information about the Python-bugs-list mailing list