Bugs item #1156280, was opened at 2005-03-03 15:06 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1156280&group_id=5470
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: jamesthiele (jamesthiele) Assigned to: Nobody/Anonymous (nobody) Summary: cmd.Cmd().cmdloop() can't read from file Initial Comment: cmd.Cmd() takes three parameters, the second of which is a file to use instead of standard input by resetting self.stdin. The substitute input is never used. The problem is that 'use_rawinput' is set to 1 and not changed. This means that raw_input() is always used and self.stdin.readline() is never used. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1156280&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com