From 410b85a7f701be280eb15b0ca4fe116e86f1d008 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 13 May 2019 17:12:45 +0200 Subject: bpo-36900: import.c uses PyInterpreterState.core_config (GH-13278) Move _PyImportZip_Init() to the internal C API and add an 'interp' parameter. --- Python/pylifecycle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pylifecycle.c') diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index de8595ccb5..014b19aa8a 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -205,7 +205,7 @@ init_importlib_external(PyInterpreterState *interp) return _Py_INIT_ERR("external importer setup failed"); } Py_DECREF(value); - return _PyImportZip_Init(); + return _PyImportZip_Init(interp); } /* Helper functions to better handle the legacy C locale -- cgit v1.2.1