Nick Coghlan ncogh...@gmail.com added the comment:
Confirmed - it's actually pressing Ctrl-D after entering text on the
line that seems to cause strange behaviour. For example, in the
following, the only letters I typed were test and then I just pressed
Ctrl-D 4 times and got the output seen
New submission from Lucas Prado Melo lucaspradom...@gmail.com:
--
$ cat raw_input_test.py
s = ''
try:
while True:
c = raw_input()
print c
s += c
except EOFError:
pass
$ python raw_input_test.py
test^D^Dtes
^D
$ python --version