[issue6467] raw_input() doesn't work as expected when it gets multiple ^D

2009-07-17 Thread Nick Coghlan
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

[issue6467] raw_input() doesn't work as expected when it gets multiple ^D

2009-07-12 Thread Lucas Prado Melo
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