diff options
| author | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-03-23 20:43:59 +0000 |
|---|---|---|
| committer | Neil Schemenauer <nascheme@enme.ucalgary.ca> | 2002-03-23 20:43:59 +0000 |
| commit | d03c342b9930f14302ee10c0f99468b37d7a7f91 (patch) | |
| tree | 2c273b90edacea811041ecdfa68cbee51ae9f51b /Lib | |
| parent | 3a204a7e481883d277f7c093fabf9632746571d7 (diff) | |
| download | cpython-git-d03c342b9930f14302ee10c0f99468b37d7a7f91.tar.gz | |
Flush stdout before reading next command. Closes SF bug 526357.
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/cmd.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py index 2a7be43083..5f955a7c10 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -94,6 +94,7 @@ class Cmd: line = 'EOF' else: sys.stdout.write(self.prompt) + sys.stdout.flush() line = sys.stdin.readline() if not len(line): line = 'EOF' |
