[Python-bugs-list] [ python-Bugs-688581 ] sys.stdout.flush() in regrtest

SourceForge.net noreply@sourceforge.net
Tue, 18 Feb 2003 05:00:54 -0800


Bugs item #688581, was opened at 2003-02-18 05:45
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=688581&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Guido van Rossum (gvanrossum)
Summary: sys.stdout.flush() in regrtest

Initial Comment:
regrtest.py got some sys.stdout.flush() calls in rev. 1.96 (and fred added more in 1.122). But according to the documentation of the sys module stdout can be "any object that has a write method" and nothing is said about flush.

This bug is in 2.2.2 also (but not in 2.2.1), so a fix will have to be backported.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-02-18 08:00

Message:
Logged In: YES 
user_id=6380

What's your use case? Since regrtest mostly controls its own
stdout, I'm not sure that the documented requirement applies.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=688581&group_id=5470