[New-bugs-announce] [issue11972] input does not strip a trailing newline correctly on Windows

Michal Molhanec report at bugs.python.org
Sun May 1 16:58:33 CEST 2011


New submission from Michal Molhanec <molhanec at 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 <report at bugs.python.org>
<http://bugs.python.org/issue11972>
_______________________________________


More information about the New-bugs-announce mailing list