Message 135671 - Python tracker (original) (raw)
The patch still does not handle the case where the eof indicator is already set when calling raw_input. My original patch does.
Run the following program and hit ctrl-d, then ctrl-c:
import sys sys.stdin.read()
while True: try: s = raw_input('> ') except: pass