[Python-checkins] r45799 - python/branches/release24-maint/Lib/test/test_compiler.py

neal.norwitz python-checkins at python.org
Sat Apr 29 05:22:46 CEST 2006


Author: neal.norwitz
Date: Sat Apr 29 05:22:45 2006
New Revision: 45799

Modified:
   python/branches/release24-maint/Lib/test/test_compiler.py
Log:
Backport r45774:
Try to really fix the slow buildbots this time.
Printing to stdout, doesn't mean the data was actually written.
It depends on the buffering, so we need to flush.  This will hopefully
really fix the buildbots getting killed due to no output on the slow bots.


Modified: python/branches/release24-maint/Lib/test/test_compiler.py
==============================================================================
--- python/branches/release24-maint/Lib/test/test_compiler.py	(original)
+++ python/branches/release24-maint/Lib/test/test_compiler.py	Sat Apr 29 05:22:45 2006
@@ -25,6 +25,7 @@
                     next_time = time.time() + _PRINT_WORKING_MSG_INTERVAL
                     print >>sys.__stdout__, \
                        '  testCompileLibrary still working, be patient...'
+                    sys.__stdout__.flush()
 
                 if not basename.endswith(".py"):
                     continue


More information about the Python-checkins mailing list