Ralf Schmitt <sch...@gmail.com> added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1195> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com