Issue #23911: Move path-based bootstrap code to a separate frozen mod… · pythoncapi/cpython@32439d6 · GitHub
Skip to content

Commit 32439d6

Browse files
Issue python#23911: Move path-based bootstrap code to a separate frozen module.
1 parent 6b4c63d commit 32439d6

27 files changed

Lines changed: 6192 additions & 5712 deletions

Lib/ctypes/test/test_values.py

Lines changed: 12 additions & 7 deletions

Lib/imp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
# Platform doesn't support dynamic loading.
1717
load_dynamic = None
1818

19-
from importlib._bootstrap import SourcelessFileLoader, _ERR_MSG, _exec, _load
19+
from importlib._bootstrap import _ERR_MSG, _exec, _load
20+
from importlib._bootstrap_external import SourcelessFileLoader
2021

2122
from importlib import machinery
2223
from importlib import util

Lib/importlib/__init__.py

Lines changed: 18 additions & 2 deletions

0 commit comments

Comments
 (0)