Message90644
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 below:
$ ./python raw_input_test.py
testtes
Traceback (most recent call last):
File "raw_input_test.py", line 3, in <module>
c = raw_input()
EOFError
The "test" appeared as typed, the "tes\n" appeared after pressing Ctrl-D
three times, then the 4th Ctrl-D on its own line correctly triggered
EOFError.
(This with 2.7a0 on Ubuntu 8.04) |
|
Date |
User |
Action |
Args |
2009-07-17 22:39:43 | ncoghlan | set | recipients:
+ ncoghlan, lucaspmelo |
2009-07-17 22:39:43 | ncoghlan | set | messageid: <1247870383.36.0.251960469792.issue6467@psf.upfronthosting.co.za> |
2009-07-17 22:39:41 | ncoghlan | link | issue6467 messages |
2009-07-17 22:39:41 | ncoghlan | create | |
|