New submission from Dave Flogeras <dfloger...@gmail.com>:

>From the python prompt, raw_input() (2.7.1) and input (3.2.0) behave as 
>documented (they strip the trailing EOL chars)

However the two line test program:
x = raw_input() # or input() in 3.2.x
print( repr( x ))

And then run from the command line prompt, .\test.py, shows 'mytest\r' 
including the EOL char.

----------
messages: 129017
nosy: Dave.Flogeras
priority: normal
severity: normal
status: open
title: raw_input() and input() not stripping EOL on win32
versions: Python 2.7, Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11278>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to