[New-bugs-announce] [issue12477] input() does'nt strip CR

Atsushi Odagiri report at bugs.python.org
Sun Jul 3 13:03:38 CEST 2011


New submission from Atsushi Odagiri <aodagx at gmail.com>:

Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> input()
a
'a\r'


Python 3.1.3 (r313:86834, Nov 27 2010, 17:20:37) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> input()
a
'a'

----------
messages: 139682
nosy: Atsushi.Odagiri
priority: normal
severity: normal
status: open
title: input() does'nt strip CR
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12477>
_______________________________________


More information about the New-bugs-announce mailing list