[issue42698] Deadlock in pysqlite_connection_dealloc()

hydroflask report at bugs.python.org
Sun Dec 20 21:15:00 EST 2020


hydroflask <hydroflask at yqxmail.com> added the comment:

Nevermind it seems that it's legal to call Py_BEGIN_ALLOW_THREADS in tp_dealloc. The fix is then to allow threads around sqlite3_close().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42698>
_______________________________________


More information about the Python-bugs-list mailing list