[New-bugs-announce] [issue27188] sqlite3 execute* methods return value not documented

Dave Sawyer report at bugs.python.org
Thu Jun 2 17:53:34 EDT 2016


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 <report at bugs.python.org>
<http://bugs.python.org/issue27188>
_______________________________________


More information about the New-bugs-announce mailing list