commit | cfb83330ce9df04d4fb9163ffb65cd7d6e55ec19 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jan 01 16:30:47 2008 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jan 01 16:30:47 2008 +0000 |
tree | af16ec24832dc444da5731e062616ebf4a93641b | |
parent | d9a4d1d5876203c17fa646c8908d15dfda99219a [diff] |
Patch #1703 by Philip Jenvey -- getpass() should flush after writing prompt.
diff --git a/Lib/getpass.py b/Lib/getpass.py index a726189..3331c97 100644 --- a/Lib/getpass.py +++ b/Lib/getpass.py
@@ -78,6 +78,7 @@ prompt = str(prompt) if prompt: stream.write(prompt) + stream.flush() line = sys.stdin.readline() if not line: raise EOFError