[Python-checkins] cpython: Issue #15352: Rebuild frozen modules when marshal.c is changed.

eric.snow python-checkins at python.org
Wed Sep 7 21:50:57 EDT 2016


https://hg.python.org/cpython/rev/344f44bd793f
changeset: 103287:344f44bd793f
user: Eric Snow <ericsnowcurrently at gmail.com>
date: Wed Sep 07 18:48:06 2016 -0700
summary:
 Issue #15352: Rebuild frozen modules when marshal.c is changed.
files:
 Makefile.pre.in | 4 ++--
 Misc/NEWS | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -702,11 +702,11 @@
 Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN)
 	$(LINKCC) $(PY_LDFLAGS) -o $@ Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
 
-Python/importlib_external.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib
+Python/importlib_external.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib Python/marshal.c
 	./Programs/_freeze_importlib \
 	 $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_external.h
 
-Python/importlib.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib
+Python/importlib.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib Python/marshal.c
 	./Programs/_freeze_importlib \
 	 $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h
 
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -7859,6 +7859,8 @@
 - Issue #17119: Fixed integer overflows when processing large strings and tuples
 in the tkinter module.
 
+- Issue #15352: Rebuild frozen modules when marshal.c is changed.
+
 - Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
 A pthread_atfork() parent handler is used to seed the PRNG with pid, time
 and some stack data.
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /