summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-08-20 02:13:14 (GMT)
committerNed Deily <nad@python.org>2016-08-20 02:13:14 (GMT)
commit1cce732fcfdf6504bcfb53ae0201ac15288b0f65 (patch)
treec987379a433e1b5a9ade8df9379bf83dc88cc3ff
parenta88b2f4e5e8e6b24df47176477cf2415e6a7e686 (diff)
parent17cfc86422ff27c5c1d88ec31c1449850bc5df68 (diff)
downloadcpython-1cce732fcfdf6504bcfb53ae0201ac15288b0f65.zip
cpython-1cce732fcfdf6504bcfb53ae0201ac15288b0f65.tar.gz
cpython-1cce732fcfdf6504bcfb53ae0201ac15288b0f65.tar.bz2
Issue #27713: merge from 3.5
-rw-r--r--Misc/NEWS3
-rw-r--r--Programs/_freeze_importlib.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1eadf9f..00feff7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -211,6 +211,9 @@ Windows
Build
-----
+- Issue #27713: Surpress spurious build warnings when updating importlib's
+ bootstrap files. Patch by Xiang Zhang
+
- Issue #25825: Correct the references to Modules/python.exp, which is
required on AIX. The references were accidentally changed in 3.5.0a1.
diff --git a/Programs/_freeze_importlib.c b/Programs/_freeze_importlib.c
index aecb123..0793984 100644
--- a/Programs/_freeze_importlib.c
+++ b/Programs/_freeze_importlib.c
@@ -77,6 +77,7 @@ main(int argc, char *argv[])
Py_NoUserSiteDirectory++;
Py_NoSiteFlag++;
Py_IgnoreEnvironmentFlag++;
+ Py_FrozenFlag++;
Py_SetProgramName(L"./_freeze_importlib");
/* Don't install importlib, since it could execute outdated bytecode. */