[Python-checkins] r45774 - python/trunk/Lib/test/test_compiler.py

neal.norwitz python-checkins at python.org
Fri Apr 28 06:34:44 CEST 2006


Author: neal.norwitz
Date: Fri Apr 28 06:34:43 2006
New Revision: 45774

Modified:
   python/trunk/Lib/test/test_compiler.py
Log:
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/trunk/Lib/test/test_compiler.py
==============================================================================
--- python/trunk/Lib/test/test_compiler.py	(original)
+++ python/trunk/Lib/test/test_compiler.py	Fri Apr 28 06:34:43 2006
@@ -26,6 +26,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