diff options
author | Larry Hastings <larry@hastings.org> | 2015-08-25 02:53:56 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-08-25 02:53:56 (GMT) |
commit | 1df0b35e3dfece45ef4d72fce2e3bdd256b5f6b3 (patch) | |
tree | 836104fd30d40ea75ee8ce2ebb4950825f9ac451 /Lib/importlib | |
parent | 7250d02b738692fb76a47d75691cca6ba1561040 (diff) | |
download | cpython-1df0b35e3dfece45ef4d72fce2e3bdd256b5f6b3.zip cpython-1df0b35e3dfece45ef4d72fce2e3bdd256b5f6b3.tar.gz cpython-1df0b35e3dfece45ef4d72fce2e3bdd256b5f6b3.tar.bz2 |
Issue #24769: Interpreter now starts properly when dynamic loading
is disabled. Patch by Petr Viktorin.
Diffstat (limited to 'Lib/importlib')
-rw-r--r-- | Lib/importlib/_bootstrap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py index 931754e..6f62bb3 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 |