[issue1703] getpass broken in Py3k: must flush()

2008-01-01 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 59646. -- nosy: +gvanrossum resolution: -> accepted status: open -> closed type: -> behavior __ Tracker <[EMAIL PROTECTED]> __

[issue1703] getpass broken in Py3k: must flush()

2007-12-27 Thread Philip Jenvey
New submission from Philip Jenvey: getpass (in particular _raw_input, used by unix_getpass and default_getpass) prints out a password prompt to a stream (by default stdout) but doesn't flush that stream. It assumes calling sys.stdin.readline() to read the password causes stdout to be flushed