This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, gvanrossum
Date 2007-11-09.20:03:12
SpamBayes Score 0.0036767877
Marked as misclassified No
Message-id <1194638592.99.0.913035012036.issue1403@psf.upfronthosting.co.za>
In-reply-to
Content
I've left this bug open because no unit tests verifies that compileall
can compile all files under Lib/. It has caused a problem with the
Windows installer in 3.0a1 for some people.

I like to add a compileall followed by a cleanup to make testall. I hope
that's called before a release gets out.

Index: Makefile.pre.in
===================================================================
--- Makefile.pre.in     (Revision 58923)
+++ Makefile.pre.in     (Arbeitskopie)
@@ -610,7 +610,7 @@

 TESTOPTS=      -l $(EXTRATESTOPTS)
 TESTPROG=      $(srcdir)/Lib/test/regrtest.py
-TESTPYTHON=    $(RUNSHARED) ./$(BUILDPYTHON) -E -tt
+TESTPYTHON=    $(RUNSHARED) ./$(BUILDPYTHON) -E -tt -bb
 test:          all platform
                -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
                -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
@@ -618,6 +618,8 @@

 testall:       all platform
                -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
+               $(TESTPYTHON) Lib/compileall.py
+               -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
                -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
                $(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall
Files
File name Uploaded
makefile_compileall.patch christian.heimes, 2007-11-09.20:03:12
History
Date User Action Args
2007-11-09 20:03:13christian.heimessetspambayes_score: 0.00367679 -> 0.0036767877
recipients: + christian.heimes, gvanrossum
2007-11-09 20:03:13christian.heimessetspambayes_score: 0.00367679 -> 0.00367679
messageid: <1194638592.99.0.913035012036.issue1403@psf.upfronthosting.co.za>
2007-11-09 20:03:12christian.heimeslinkissue1403 messages
2007-11-09 20:03:12christian.heimescreate