]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46541: Remove unneeded visits from sqlite3 (GH-31609)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Mon, 28 Feb 2022 09:07:40 +0000 (10:07 +0100)
committerGitHub <noreply@github.com>
Mon, 28 Feb 2022 09:07:40 +0000 (18:07 +0900)
Modules/_sqlite/module.c

index 35cdcbe0a5c38e720775ec2cf3b08a01f37bb1f4..70fde4910f6a47ce903473f25403957faacf9054 100644 (file)
@@ -590,13 +590,6 @@ module_traverse(PyObject *module, visitproc visit, void *arg)
     Py_VISIT(state->lru_cache);
     Py_VISIT(state->psyco_adapters);
 
-    // Interned strings
-    Py_VISIT(state->str___adapt__);
-    Py_VISIT(state->str___conform__);
-    Py_VISIT(state->str_executescript);
-    Py_VISIT(state->str_finalize);
-    Py_VISIT(state->str_upper);
-
     return 0;
 }