New submission from Dave Sawyer: The three execute methods of the connection object return the created cursor. The term "intermediate" implies the cursor is totally handled by the execute method, not that the user will get ownership of the object.
When the user doesn't call close() on the returned cursor right away, they hold a lock on the database until the object is garbage collected. ---------- files: execdoc_patch1.txt messages: 266964 nosy: Dave Sawyer priority: normal severity: normal status: open title: sqlite3 execute* methods return value not documented type: enhancement versions: Python 3.6 Added file: http://bugs.python.org/file43120/execdoc_patch1.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27188> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com