mirror of https://github.com/python/cpython.git
Oops -- overuse of dabbrev-expand introduced a strange bug, where
instead of 'locals' I was passing 'lock_import' to import_module_ex().
This commit is contained in:
parent
986c100735
commit
d65911b3f3
|
@ -1373,7 +1373,7 @@ PyImport_ImportModuleEx(name, globals, locals, fromlist)
|
||||||
{
|
{
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
lock_import();
|
lock_import();
|
||||||
result = import_module_ex(name, globals, lock_import, fromlist);
|
result = import_module_ex(name, globals, locals, fromlist);
|
||||||
unlock_import();
|
unlock_import();
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue