mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Issue #24769: Interpreter now starts properly when dynamic loading
is disabled. Patch by Petr Viktorin.
This commit is contained in:
parent
7250d02b73
commit
1df0b35e3d
5 changed files with 80 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue