From 1df0b35e3dfece45ef4d72fce2e3bdd256b5f6b3 Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Mon, 24 Aug 2015 19:53:56 -0700 Subject: Issue #24769: Interpreter now starts properly when dynamic loading is disabled. Patch by Petr Viktorin. --- Lib/importlib/_bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/importlib/_bootstrap.py') diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 931754e154..6f62bb35fe 100644 --- a/Lib/importlib/_bootstrap.py +++ b/Lib/importlib/_bootstrap.py @@ -745,7 +745,7 @@ class BuiltinImporter: @classmethod def exec_module(self, module): """Exec a built-in module""" - _call_with_frames_removed(_imp.exec_dynamic, module) + _call_with_frames_removed(_imp.exec_builtin, module) @classmethod @_requires_builtin -- cgit v1.2.1