This discussion is kind of going into different directions and I want to bring it back to the getpass function. 

The original argument is that there should be a choice provided by the getpass function of getting feedback or not. Currently the getpass function does not provide any feedback and I just want to add the ability to make it so that I can get some feedback.

Some one earlier mentioned that by default the function will not echo anything back and I totally agree with that. In fact I like that suggestion a lot. Only when the users* want feedback they can change the parameters of the function and add which ever character they want for masking. 

Please note that currently the first parameter of the getpass function is the Prompt. The second parameter can then be used as the masking character which can be None / blank by default.


On Thu, Jan 14, 2016 at 4:08 AM, Chris Angelico <rosuav@gmail.com> wrote:
On Thu, Jan 14, 2016 at 8:50 PM, Georg Brandl <g.brandl@gmx.net> wrote:
> This might not apply for people working from home, but at work I regularly
> enter my own password or passwords for other systems with other people
> intentionally looking over my shoulder (e.g. pair-programming, debugging,
> confirming error reports etc.)  Should I ask them to look away from the
> screen each time?

Yes - and ask them to block their ears, too. The sound of your
keyboard can give away information about what your password is.

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/