diff options
author | Marc-Andre Lemburg <mal@egenix.com> | 2012-04-25 08:54:48 (GMT) |
---|---|---|
committer | Marc-Andre Lemburg <mal@egenix.com> | 2012-04-25 08:54:48 (GMT) |
commit | 7541c8ea37e56e5b5ee9b6276b100052ee500ae6 (patch) | |
tree | 28fa6b3010e7252354ea612e32ea419e7c2db71d /Lib | |
parent | 4fe29c9657d64e8e3301122c104b7ca8fd23c348 (diff) | |
download | cpython-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.py | 7 |
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. |