Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7541c8e

Browse files
committed
Issue #14605 and #14642:
Issue a warning in case Python\importlib.h needs to be rebuilt, but there's no Python interpreter around to freeze the bootstrap script.
1 parent 4fe29c9 commit 7541c8e

2 files changed

Lines changed: 120 additions & 113 deletions

File tree

Lib/importlib/_bootstrap.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
work. One should use importlib as the public-facing version of this module.
77
88
"""
9+
#
10+
# IMPORTANT: Whenever making changes to this module, be sure to run
11+
# a top-level make in order to get the frozen version of the module
12+
# update. Not doing so, will result in the Makefile to fail for
13+
# all others who don't have a ./python around to freeze the module
14+
# in the early stages of compilation.
15+
#
916

1017
# See importlib._setup() for what is injected into the global namespace.
1118

0 commit comments

Comments
 (0)