From 83e64c8a544028ae677af2a0bc268dbe1c11cc3a Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Mon, 29 Jan 2018 21:04:15 -0700 Subject: bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437) --- Modules/_xxsubinterpretersmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c index ed79a13..d2b5f26 100644 --- a/Modules/_xxsubinterpretersmodule.c +++ b/Modules/_xxsubinterpretersmodule.c @@ -1916,7 +1916,7 @@ static PyObject * channel_drop_interpreter(PyObject *self, PyObject *args, PyObject *kwds) { // Note that only the current interpreter is affected. - static char *kwlist[] = {"id", "send", "recv"}; + static char *kwlist[] = {"id", "send", "recv", NULL}; PyObject *id; int send = -1; int recv = -1; -- cgit v0.12