This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Flush stdout/stderr if closed (fix for bug 1074011)
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: alanmcintyre, loewis, wom-work
Priority: normal Keywords: patch

Created on 2004-11-29 10:50 by wom-work, last changed 2022-04-11 14:56 by admin. This issue is now closed.

File name Uploaded Description Edit
python2.3-stdio-flush.patch wom-work, 2004-11-29 10:50
Messages (3)
msg47337 - (view) Author: Ben Hutchings (wom-work) Date: 2004-11-29 10:50
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.
msg47338 - (view) Author: Alan McIntyre (alanmcintyre) * (Python committer) Date: 2005-02-27 17:01
Logged In: YES 

This change already seems to have been made (in a slightly
different form), and the referenced bug is closed out. 
Recommend closing.
msg47339 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-03-03 08:06
Logged In: YES 

Closing as out-of-date.
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41242
2004-11-29 10:50:24wom-workcreate