[New-bugs-announce] [issue39497] Unused variable script_str in pysqlite_cursor_executescript
Alex Henrie
report at bugs.python.org
Wed Jan 29 23:19:15 EST 2020
New submission from Alex Henrie <alexhenrie24 at gmail.com>:
The function pysqlite_cursor_executescript defines a variable called script_str, initializes it to NULL, and calls Py_XDECREF on it. However, this variable has been unused since August 2007: https://github.com/python/cpython/commit/6d21456137836b8acd551cf6a51999ad4ff10a91#diff-26f74db3527991715b482a5ed2603870L752
----------
components: Library (Lib)
messages: 361008
nosy: alex.henrie
priority: normal
severity: normal
status: open
title: Unused variable script_str in pysqlite_cursor_executescript
type: performance
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39497>
_______________________________________
More information about the New-bugs-announce
mailing list