Issue #24769: Interpreter now starts properly when dynamic loading

is disabled.  Patch by Petr Viktorin.
This commit is contained in:
Larry Hastings 2015-08-24 19:53:56 -07:00
parent 7250d02b73
commit 1df0b35e3d
5 changed files with 80 additions and 26 deletions

View file

@ -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