[issue11642] regression: input() doesn't strip a trailing newline on Windows

2011-03-22 Thread Brian Curtin

Brian Curtin  added the comment:

3.2.1 will have the fix.

--
nosy: +brian.curtin
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11642] regression: input() doesn't strip a trailing newline on Windows

2011-03-22 Thread Andreas Stührk

Andreas Stührk  added the comment:

This is a duplicate of issue #11272.

--
nosy: +Trundle

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11642] regression: input() doesn't strip a trailing newline on Windows

2011-03-22 Thread anatoly techtonik

New submission from anatoly techtonik :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com