COMMITS
/ Lib/getpass.py March 30, 2026
S
gh-138577: Fix keyboard shortcuts in getpass with echo_char (#141597)
Sanyam Khurana committed
September 16, 2025
B
gh-138514: getpass: restrict `echo_char` to a single ASCII character (#138591)
Benjamin Johnson committed
May 15, 2025
S
gh-77065: Use `putwch` instead of `putch` in `getpass.win_getpass` (#134058)
Semyon Moroz committed
S
gh-77065: add missing parameter `echo_char` in `getpass.fallback_getpass` (#133849)
Semyon Moroz committed
May 6, 2025
S
gh-77065: Add optional keyword-only argument `echo_char` for `getpass.getpass` (#130496)
Semyon Moroz committed
November 27, 2023
J
gh-76912: Raise OSError from any failure in getpass.getuser() (#29739)
Jacob Walls committed
October 4, 2023
A
gh-109653: Defer importing `warnings` in several modules (#110286)
Alex Waygood committed
May 4, 2021
J
update docstring for `win_getpass` to reflect code changes (GH-24967)
Jürgen Gmach committed
November 19, 2019
February 12, 2017
M
getpass: update docstrings (#49)
MRMillon committed
October 29, 2015
B
remove duplicated imports (closes #25502)
Benjamin Peterson committed
April 14, 2014
R
#21169: add comment and doc update for getpass change.
R David Murray committed
R
#21169: fix getpass to use replace error handler on UnicodeEncodeError.
R David Murray committed
July 10, 2013
R
#18116: getpass no longer always falls back to stdin.
R David Murray committed
July 4, 2013
B
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
Brett Cannon committed
June 14, 2013
B
Issue #18200: Update the stdlib (except tests) to use
Brett Cannon committed
April 8, 2013
R
#17484: add tests for getpass.
R David Murray committed
December 17, 2012
A
Get rig of EnvironmentError (#16705)
Andrew Svetlov committed
November 4, 2011
F
Remove redundant imports.
Florent Xicluna committed
March 24, 2011
S
issue11236 getpass.getpass to respond ctrl-c or ctrl-z
Senthil Kumaran committed
December 16, 2010
B
EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.
Brian Curtin committed
November 1, 2009
G
Merged revisions 76000,76016 via svnmerge from
Gregory P. Smith committed
October 4, 2009
May 4, 2008
January 1, 2008
G
Patch #1703 by Philip Jenvey -- getpass() should flush after writing prompt.
Guido van Rossum committed
December 10, 2007
C
Fixed #1578: Problems in win_getpass
Christian Heimes committed
February 9, 2007
G
Fix most trivially-findable print statements.
Guido van Rossum committed
April 21, 2006
T
Merge p3yk branch with the trunk up to revision 45595. This breaks a fair
Thomas Wouters committed
March 17, 2006
N
Get rid of a bunch more raw_input references
Neal Norwitz committed
November 20, 2002
N
Fix SF #640094, on win32 getpass runs into unix_getpass
Neal Norwitz committed
August 30, 2001
G
win_getpass(): if sys.stdin is not sys.__stdin__, use
Guido van Rossum committed
August 13, 2001
G
Remove two redundant statements (PyChecker).
Guido van Rossum committed
February 27, 2001
F
Get the needed constants from termios, not TERMIOS.
Fred Drake committed
January 20, 2001
S
more __all__ updates
Skip Montanaro committed
January 14, 2001
T
Whitespace normalization.
Tim Peters committed
February 28, 2000
G
Simple changes by Gerrit Holl - move author acknowledgements out of
Guido van Rossum committed
October 18, 1999
J
print a warning if the password will be echoed.
Jeremy Hylton committed
February 11, 1999
G
Mod by Jack Jansen: on Macintosh, use EasyDialogs.GetPassword if it
Guido van Rossum committed
September 22, 1998
G
Do the check for lacking sys.stdin.fileno() *before* testing for
Guido van Rossum committed
September 21, 1998
G
When sys.stdin.fileno() doesn't work, fall back to default_getpass()
Guido van Rossum committed
July 28, 1998
G
Don't use raw_input() to ask for the password; this puts the password
Guido van Rossum committed
June 12, 1998
G
Don't catch interrupts in getpass() -- the finally clause will reset
Guido van Rossum committed
April 13, 1998
G
Be nicer to systems that have neither termios nor msvcrt.
Guido van Rossum committed
April 9, 1998
G
Another new utility: getpass() prompts for a password, with echo off.
Guido van Rossum committed