In "stardict.py", cursors are not closed after using, not sure whether there will be memory leak issue.
But in sqlite3 c source code, the "close" function is not empty pysqlite_cursor_close:
(void)pysqlite_statement_reset(self->statement);
Py_CLEAR(self->statement);
However, I think it is better to close cursors ASAP, saving memory when running on cheaper cloud VMs.
In "stardict.py", cursors are not closed after using, not sure whether there will be memory leak issue.
But in sqlite3 c source code, the "close" function is not empty pysqlite_cursor_close: (void)pysqlite_statement_reset(self->statement); Py_CLEAR(self->statement);
However, I think it is better to close cursors ASAP, saving memory when running on cheaper cloud VMs.