New submission from anatoly techtonik <techto...@gmail.com>:

Docs say that input() should strip trailing newline, but on Windows it doesn't 
happen.
http://docs.python.org/py3k/library/functions.html#input


Python 2.x Windows
>>> raw_input()
xyz
'xyz'
>>>

Python 3.2 Windows
>>> input()
zyx
'zyx\r'
>>>

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 131812
nosy: techtonik
priority: normal
severity: normal
status: open
title: regression: input() doesn't strip a trailing newline on Windows
versions: Python 3.2

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

Reply via email to