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 vstinner
Recipients msp, r.david.murray, vstinner
Date 2014-07-17.16:24:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405614254.78.0.170178544605.issue21946@psf.upfronthosting.co.za>
In-reply-to
Content
The bug is not on print, but raw_input().

In Python 3, I worked on the following issues to support fully binary standard streams:

 - #10841: "binary stdio"
 - #11272: "input() has trailing carriage return on windows", fixed in Python 3.2.1
 - #11395: "print(s) fails on Windows with long strings", fixed in Python 3.2.1
 - #13119: "Newline for print() is \n on Windows, and not \r\n as expected", will be fixed in Python 3.2.4 and 3.3 (not released yet)

It looks like this issue is the same than #11272: input() removes '\n' but not '\r'.
History
Date User Action Args
2014-07-17 16:24:14vstinnersetrecipients: + vstinner, r.david.murray, msp
2014-07-17 16:24:14vstinnersetmessageid: <1405614254.78.0.170178544605.issue21946@psf.upfronthosting.co.za>
2014-07-17 16:24:14vstinnerlinkissue21946 messages
2014-07-17 16:24:14vstinnercreate