hydroflask <hydrofl...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue42698> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com