]> granicus.if.org Git - python/commit
If sys.stdin is not a tty, fall back to default_getpass after printing
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 21 Apr 2008 21:31:08 +0000 (21:31 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 21 Apr 2008 21:31:08 +0000 (21:31 +0000)
commit41e30183367e52450fdf7316cf32bfa4e9a78afc
treef643e5118416fb35af9d9d17b022d43d5f110652
parentaa3cadb01e47719b9f8b7401cdbd32791b5e16f7
If sys.stdin is not a tty, fall back to default_getpass after printing
a warning instead of failing with a termios.error.
Lib/getpass.py
Misc/NEWS