mirror of
https://github.com/python/cpython.git
synced 2025-10-21 06:02:21 +00:00
bpo-36900: import.c uses PyInterpreterState.core_config (GH-13278)
Move _PyImportZip_Init() to the internal C API and add an 'interp' parameter.
This commit is contained in:
parent
2c10538d11
commit
410b85a7f7
4 changed files with 48 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue