[issue1667] license() does not process keyboard input correctly

Joseph Armbruster report at bugs.python.org
Thu Dec 20 19:17:35 CET 2007


Joseph Armbruster added the comment:

>>> import sys
>>> x = input()
Hi:
>>> repr(x)
"'Hi:'"
>>> x = sys.stdin.readline()
Hi:
>>> repr(x)
"'Hi:\\n'"

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1667>
__________________________________


More information about the Python-bugs-list mailing list