Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 7535:13b60abdb70d legacy-trunk
Oops -- overuse of dabbrev-expand introduced a strange bug, where
instead of 'locals' I was passing 'lock_import' to import_module_ex().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 03 Mar 1998 22:33:27 +0000 |
| parents | ea8184bff12d |
| children | c8e5f704623d |
line wrap: on
line diff
--- a/Python/import.c Tue Mar 03 22:27:28 1998 +0000 +++ b/Python/import.c Tue Mar 03 22:33:27 1998 +0000 @@ -1373,7 +1373,7 @@ { PyObject *result; lock_import(); - result = import_module_ex(name, globals, lock_import, fromlist); + result = import_module_ex(name, globals, locals, fromlist); unlock_import(); return result; }
