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 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 <>
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).
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: <>
2014-07-17 14:35:50r.david.murraylinkissue21946 messages
2014-07-17 14:35:50r.david.murraycreate