[Python-checkins] bpo-46541: Remove unneeded visits from sqlite3 (GH-31609)

corona10 webhook-mailer at python.org
Mon Feb 28 04:07:45 EST 2022


https://github.com/python/cpython/commit/c32aef48533769161e1247927a5b418322e0860c
commit: c32aef48533769161e1247927a5b418322e0860c
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at innova.no>
committer: corona10 <donghee.na92 at gmail.com>
date: 2022-02-28T18:07:40+09:00
summary:

bpo-46541: Remove unneeded visits from sqlite3 (GH-31609)

files:
M Modules/_sqlite/module.c

diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c
index 35cdcbe0a5c38..70fde4910f6a4 100644
--- a/Modules/_sqlite/module.c
+++ b/Modules/_sqlite/module.c
@@ -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;
 }
 



More information about the Python-checkins mailing list