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

SourceForge.net noreply at sourceforge.net
Mon Nov 29 11:50:26 CET 2004


Patches item #1075147, was opened at 2004-11-29 10:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
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.

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

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