[issue43290] [sqlite3] remove legacy code from pysqlite_step

Erlend Egeberg Aasland report at bugs.python.org
Thu Feb 25 03:08:46 EST 2021


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

> _pysqlite_query_execute() has one coverage gap: lines 478-488 (if (self->statement->in_use)) are never executed.

I wonder if it is possible at all to reach this branch. If it is not, then I'm pretty sure Cursor.in_use is redundant, and all code relating to it can be removed.

----------

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


More information about the Python-bugs-list mailing list