summaryrefslogtreecommitdiff
path: root/Lib/getpass.py
Commit message (Collapse)AuthorAgeFilesLines
* Don't catch interrupts in getpass() -- the finally clause will resetGuido van Rossum1998-06-121-2/+3
| | | | | | | the tty and the caller can deal with the interrupt. In the windows version, recognize ^C and raise KeyboardInterrupt (not sure if this is needed, but can't hurt).
* Be nicer to systems that have neither termios nor msvcrt.Guido van Rossum1998-04-131-1/+10
|
* Another new utility: getpass() prompts for a password, with echo off.Guido van Rossum1998-04-091-0/+79
Also contains getuser(), which returns the username (not prompting though). These work on Unix and Windows!