[Patches] [ python-Patches-1075147 ] Flush stdout/stderr if closed (fix for bug 1074011)

SourceForge.net noreply at sourceforge.net
Sun Feb 27 18:01:25 CET 2005


Patches item #1075147, was opened at 2004-11-29 05:50
Message generated for change (Comment added) made by alanmcintyre
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1075147&group_id=5470

Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Ben Hutchings (wom-work)
Assigned to: Nobody/Anonymous (nobody)
Summary: Flush stdout/stderr if closed (fix for bug 1074011)

Initial Comment:
This sets the close function pointers for sys.stdout
and sys.stderr to point to fflush rather than be NULL,
so that if a program explicitly closes stdout or stderr
it can detect a write error then.

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

Comment By: Alan McIntyre (ESRG) (alanmcintyre)
Date: 2005-02-27 12:01

Message:
Logged In: YES 
user_id=1115903

This change already seems to have been made (in a slightly
different form), and the referenced bug is closed out. 
Recommend closing.

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

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


More information about the Patches mailing list