Message 131812 - Python tracker

Message131812

Author techtonik
Recipients techtonik
Date 2011-03-22.23:35:26
SpamBayes Score 0.004264423
Marked as misclassified No
Message-id <1300836927.06.0.0134767205709.issue11642@psf.upfronthosting.co.za>
In-reply-to
Content
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'
>>>
History
Date User Action Args
2011-03-22 23:35:27techtoniksetrecipients: + techtonik
2011-03-22 23:35:27techtoniksetmessageid: <1300836927.06.0.0134767205709.issue11642@psf.upfronthosting.co.za>
2011-03-22 23:35:26techtoniklinkissue11642 messages
2011-03-22 23:35:26techtonikcreate