We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883cbee commit 487863cCopy full SHA for 487863c
Python/pylifecycle.c
@@ -1253,11 +1253,7 @@ finalize_interp_clear(PyThreadState *tstate)
1253
{
1254
int is_main_interp = _Py_IsMainInterpreter(tstate);
1255
1256
- /* bpo-36854: Explicitly clear the codec registry */
1257
PyInterpreterState *interp = tstate->interp;
1258
- Py_CLEAR(interp->codec_search_path);
1259
- Py_CLEAR(interp->codec_search_cache);
1260
- Py_CLEAR(interp->codec_error_registry);
1261
1262
/* Clear interpreter state and all thread states */
1263
PyInterpreterState_Clear(tstate->interp);
0 commit comments