summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMarc-Andre Lemburg <mal@egenix.com>2012-04-25 08:54:48 (GMT)
committerMarc-Andre Lemburg <mal@egenix.com>2012-04-25 08:54:48 (GMT)
commit7541c8ea37e56e5b5ee9b6276b100052ee500ae6 (patch)
tree28fa6b3010e7252354ea612e32ea419e7c2db71d /Lib
parent4fe29c9657d64e8e3301122c104b7ca8fd23c348 (diff)
downloadcpython-7541c8ea37e56e5b5ee9b6276b100052ee500ae6.zip
cpython-7541c8ea37e56e5b5ee9b6276b100052ee500ae6.tar.gz
cpython-7541c8ea37e56e5b5ee9b6276b100052ee500ae6.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/importlib/_bootstrap.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/importlib/_bootstrap.py b/Lib/importlib/_bootstrap.py
index 817fe39..47ccd41 100644
--- a/Lib/importlib/_bootstrap.py
+++ b/Lib/importlib/_bootstrap.py
@@ -6,6 +6,13 @@ such it requires the injection of specific modules and attributes in order to
work. One should use importlib as the public-facing version of this module.
"""
+#
+# IMPORTANT: Whenever making changes to this module, be sure to run
+# a top-level make in order to get the frozen version of the module
+# update. Not doing so, will result in the Makefile to fail for
+# all others who don't have a ./python around to freeze the module
+# in the early stages of compilation.
+#
# See importlib._setup() for what is injected into the global namespace.