getpass.getpass() bugged?
Fredrik Lundh
fredrik at pythonware.com
Fri Sep 3 02:48:11 EDT 1999
<super_banane at yahoo.com> wrote:
> The getpass.getpass() function should
> be requesting a password without echoing it...
> but unfortunately it does:
>
> >>> import getpass
> >>> getpass.getpass()
> Password: hello
> 'hello'
> >>>
>
> Python I use is v1.5.2
> Same behaviour on Solaris 2.6 and HPUX-10.20.
> Works fine with Python v1.5.1 on Linux, though.
make sure the termios module is available.
</F>
More information about the Python-list
mailing list