[issue21946] 'python -u' yields trailing carriage return '\r' (Python2 for Windows)

2014-07-09 Thread Matthias St.Pierre
New submission from Matthias St.Pierre: raw_input yields trailing carriage return ('\r') when C:\Python27\python.exe is called using the -u option How to reproduce the error: save the attached file 'input.py' which contains the following lines -- begin input.py -- i = raw_input(enter y or n

[issue21946] 'python -u' yields trailing carriage return '\r' (Python2 for Windows)

2014-07-09 Thread Matthias St.Pierre
Matthias St.Pierre added the comment: correction: the markers for transcripts 1 and 2 were inserted at the wrong location; here's the correction: -- begin transcript 1 of cmd session -- C:\Tempwhere python C:\Python27\python.exe C:\Temppython --version Python 2.7.8 C:\Temptype input.py i