From d65911b3f3a2f8d72d170cc3537aa832d42591b6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 3 Mar 1998 22:33:27 +0000 Subject: [PATCH] Oops -- overuse of dabbrev-expand introduced a strange bug, where instead of 'locals' I was passing 'lock_import' to import_module_ex(). --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/import.c b/Python/import.c index ef824394881..edc960c1f91 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1373,7 +1373,7 @@ PyImport_ImportModuleEx(name, globals, locals, fromlist) { 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; }