Changeset 388 for python/vendor/current/Lib/getpass.py
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Lib/getpass.py
r2 r388 52 52 try: 53 53 fd = sys.stdin.fileno() 54 except :54 except (AttributeError, ValueError): 55 55 passwd = fallback_getpass(prompt, stream) 56 56 input = sys.stdin … … 63 63 old = termios.tcgetattr(fd) # a copy to save 64 64 new = old[:] 65 new[3] &= ~ (termios.ECHO|termios.ISIG)# 3 == 'lflags'65 new[3] &= ~termios.ECHO # 3 == 'lflags' 66 66 tcsetattr_flags = termios.TCSAFLUSH 67 67 if hasattr(termios, 'TCSASOFT'):
Note:
See TracChangeset
for help on using the changeset viewer.