[issue47019] Fatal Python Error in sqlite3 Python 3.10

Erlend E. Aasland report at bugs.python.org
Tue Mar 15 04:58:19 EDT 2022


Erlend E. Aasland <erlend.aasland at innova.no> added the comment:

I'm removing 3.11 from the versions field:


    $ python3.11 sqlite3_fatal_python_error.py
    Exception ignored in: <function deleting_conn.__del__ at 0x10af55580>
    Traceback (most recent call last):
      File "/Users/erlendaasland/src/cpython-build/sqlite3_fatal_python_error.py", line 10, in __del__
        self.close()
        ^^^^^^^^^^^^
    sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 123145443913728 and this is thread id 4506211840.

----------
versions:  -Python 3.11

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


More information about the Python-bugs-list mailing list