Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix SF #640094, on win32 getpass runs into unix_getpass | Neal Norwitz | 2002-11-20 | 1 | -1/+4 |
| | | | | | | | | Make sure we have a UNIX-compatible termios. Apparently, McMillan Installer made a termios on windows which caused unix_getpass() to be used instead of win_getpass(). Will backport. | ||||
* | win_getpass(): if sys.stdin is not sys.__stdin__, use | Guido van Rossum | 2001-08-30 | 1 | -0/+2 |
| | | | | | | | default_getpass(). This should prevent hanging when it is called in IDLE. Fixes SF bug #455648. | ||||
* | Remove two redundant statements (PyChecker). | Guido van Rossum | 2001-08-13 | 1 | -2/+0 |
| | |||||
* | Get the needed constants from termios, not TERMIOS. | Fred Drake | 2001-02-27 | 1 | -4/+4 |
| | |||||
* | more __all__ updates | Skip Montanaro | 2001-01-20 | 1 | -0/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-14 | 1 | -76/+75 |
| | |||||
* | Simple changes by Gerrit Holl - move author acknowledgements out of | Guido van Rossum | 2000-02-28 | 1 | -2/+3 |
| | | | | docstrings into comments. | ||||
* | print a warning if the password will be echoed. | Jeremy Hylton | 1999-10-18 | 1 | -22/+26 |
| | | | | | | At import time, getpass will be bound to the appropriate platform-specific function. If the platform's echo-disabler is not available, default_getpass, which prints the warning, will be used | ||||
* | Mod by Jack Jansen: on Macintosh, use EasyDialogs.GetPassword if it | Guido van Rossum | 1999-02-11 | 1 | -1/+8 |
| | | | | exists. | ||||
* | Do the check for lacking sys.stdin.fileno() *before* testing for | Guido van Rossum | 1998-09-22 | 1 | -4/+4 |
| | | | | | | Windows. If sys.stdin doesn't appear to be a real file (characterized by having a working fileno()), don't use any console specific methods -- go straight to the default. | ||||
* | When sys.stdin.fileno() doesn't work, fall back to default_getpass() | Guido van Rossum | 1998-09-21 | 1 | -1/+4 |
| | | | | -- don't just die. | ||||
* | Don't use raw_input() to ask for the password; this puts the password | Guido van Rossum | 1998-07-28 | 1 | -2/+17 |
| | | | | in the GNU readline history buffer which is not such a great idea. | ||||
* | Don't catch interrupts in getpass() -- the finally clause will reset | Guido van Rossum | 1998-06-12 | 1 | -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 Rossum | 1998-04-13 | 1 | -1/+10 |
| | |||||
* | Another new utility: getpass() prompts for a password, with echo off. | Guido van Rossum | 1998-04-09 | 1 | -0/+79 |
Also contains getuser(), which returns the username (not prompting though). These work on Unix and Windows! |