[New-bugs-announce] [issue39494] Extra null terminators in keyword arrays in sqlite module
Alex Henrie
report at bugs.python.org
Wed Jan 29 20:43:52 EST 2020
New submission from Alex Henrie <alexhenrie24 at gmail.com>:
Modules/_sqlite/cursor.c currently has the following variable declaration:
static char *kwlist[] = {"size", NULL, NULL};
The second null terminator is unnecessary and detrimental in that it makes the code harder to read and understand.
Modules/_sqlite/module.c has two additional kwlist variables with the same problem.
----------
components: Library (Lib)
messages: 361001
nosy: alex.henrie
priority: normal
severity: normal
status: open
title: Extra null terminators in keyword arrays in sqlite module
type: resource usage
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39494>
_______________________________________
More information about the New-bugs-announce
mailing list