Commit cfb83330 authored by Guido van Rossum's avatar Guido van Rossum

Patch #1703 by Philip Jenvey -- getpass() should flush after writing prompt.

parent d9a4d1d5
......@@ -78,6 +78,7 @@ def _raw_input(prompt="", stream=None):
prompt = str(prompt)
if prompt:
stream.write(prompt)
stream.flush()
line = sys.stdin.readline()
if not line:
raise EOFError
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment