New submission from Michal Molhanec <molha...@gmail.com>:

input() returns string including trailing '\r'. IMHO the problem is not 
directly in the input() function which just expects that the input string was 
read in text mode so all of the platform specific newlines were normalized into 
single '\n'.

----------
components: IO, Library (Lib), Windows
messages: 134911
nosy: Michal.Molhanec
priority: normal
severity: normal
status: open
title: input does not strip a trailing newline correctly on Windows
type: behavior
versions: Python 3.2

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

Reply via email to