Author vstinner
Recipients msp, r.david.murray, vstinner
Date 2014-07-28.21:49:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406584181.83.0.692706928653.issue21946@psf.upfronthosting.co.za>
In-reply-to
Content
I backported and adapted most Python 3 fixes related to the Windows binary mode for stdout/stderr used when Python is started with the -u command line option. See attached binary.patch.

My change to file.write() looks wrong because the function returns None and does not loop until all bytes are written.

By the way, string_write() doesn't check if fwrite(n) wrote less than n bytes or failed with an error.

See also the issue #21090 which improves error handling in the file object.
History
Date User Action Args
2014-07-28 21:49:42vstinnersetrecipients: + vstinner, r.david.murray, msp
2014-07-28 21:49:41vstinnersetmessageid: <1406584181.83.0.692706928653.issue21946@psf.upfronthosting.co.za>
2014-07-28 21:49:41vstinnerlinkissue21946 messages
2014-07-28 21:49:41vstinnercreate