I've gotten some ideas from people's emails and I think it is worth investing more time with this feature. I will work to make the code platform independent and python 3 compatible. 

The standard library code for getpass.getpass() actually does use msvcrt for the windows platform so I think I'll keep my code like that but I'll add another function supporting unix.

Considering the mobile device issue: there can always be options. The developers can choose either to implement that feature or not and even more let the users decide if they want to use the feature. This is exactly what i am aiming for with the desktop version too. The ability to choose.

~ KingMak



On Tue, Jan 12, 2016 at 9:07 PM, Ethan Furman <ethan@stoneleaf.us> wrote:
On 01/12/2016 06:45 PM, Oleg Broytman wrote:
On Wed, Jan 13, 2016 at 01:22:02PM +1100, Chris Angelico wrote:
On Wed, Jan 13, 2016 at 1:17 PM, Oleg Broytman wrote:
On Wed, Jan 13, 2016 at 12:54:14PM +1100, Steven D'Aprano wrote:

The old convention on Linux and Unix is to just suppress all feedback,
but even on Linux GUI applications normally show bullets ??? or asterisks.

    Modern GUIs show the real character for a short period of time and
then replace it with an asterisk.

Ugh. I've only seen that on mobile devices, not on any desktop GUI,

    On desktop (Windows) I saw a password entry with a checkbox to switch
between real characters and asterisks.

While that can be handy, it is not the same as displaying each character as it is typed and then covering it with something else.  I agree with ChrisA and hope that never becomes the convention on non-mobile devices.

--
~Ethan~


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