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.

Author martin.panter
Recipients aliles, amaury.forgeotdarc, belopolsky, dangyogi, flox, gruszczy, martin.panter, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2015-10-06.23:04:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444172675.82.0.203280329666.issue8256@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, your patch looks like a worthwhile improvement because it adds proper error checking and handling. However I suspect this original bug is actually a side effect of Issue 24402. The code in question shouldn’t even be running, because sys.stdout is not the original output file descriptor, and is not a terminal.
History
Date User Action Args
2015-10-06 23:04:35martin.pantersetrecipients: + martin.panter, amaury.forgeotdarc, belopolsky, pitrou, vstinner, dangyogi, r.david.murray, gruszczy, flox, aliles, serhiy.storchaka
2015-10-06 23:04:35martin.pantersetmessageid: <1444172675.82.0.203280329666.issue8256@psf.upfronthosting.co.za>
2015-10-06 23:04:35martin.panterlinkissue8256 messages
2015-10-06 23:04:35martin.pantercreate