Fixes issue7208 - getpass would still allow the password to be echoed on
commit693ad857a08b083f2cbea43a5fa79123394e339f
authorgregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 31 Oct 2009 21:26:08 +0000 (31 21:26 +0000)
committergregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 31 Oct 2009 21:26:08 +0000 (31 21:26 +0000)
treecc21f395173219aaa135c958be34a6022440f44e
parent0351401feb049fdc8d29772aed61bff3acd9355f
Fixes issue7208 - getpass would still allow the password to be echoed on
Solaris due to not flushing the input buffer.

This change also incorporates some additional getpass implementation
suggestions for security based on an analysis of getpass.c linked to from the
issue.

git-svn-id: http://svn.python.org/projects/python/trunk@76000 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/getpass.py