Message223347
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'. |
|
Date |
User |
Action |
Args |
2014-07-17 16:24:14 | vstinner | set | recipients:
+ vstinner, r.david.murray, msp |
2014-07-17 16:24:14 | vstinner | set | messageid: <1405614254.78.0.170178544605.issue21946@psf.upfronthosting.co.za> |
2014-07-17 16:24:14 | vstinner | link | issue21946 messages |
2014-07-17 16:24:14 | vstinner | create | |
|