Author r.david.murray
Recipients msp, r.david.murray, vstinner
Date 2014-07-17.14:35:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405607750.9.0.303865314683.issue21946@psf.upfronthosting.co.za>
In-reply-to
Content
This is the documented behavior of the -u option.  It puts the streams in binary mode "on systems where it matters", which would be windows.  That is, universal newline processing is disabled when you use -u.

Note that this is no longer an issue in python3: there, -u only affects buffering, and not the binary/text mode (because in python3 there is always a distinction between binary and text mode, regardless of platform).
History
Date User Action Args
2014-07-17 14:35:50r.david.murraysetrecipients: + r.david.murray, vstinner, msp
2014-07-17 14:35:50r.david.murraysetmessageid: <1405607750.9.0.303865314683.issue21946@psf.upfronthosting.co.za>
2014-07-17 14:35:50r.david.murraylinkissue21946 messages
2014-07-17 14:35:50r.david.murraycreate