Message206981
Just to demonstrate failure of getpass, by the way:
$ cat >/tmp/pwtest.py
import getpass
print(getpass.getpass())
$ python3 /tmp/pwtest.py </dev/null
/usr/lib/python3.3/getpass.py:83: GetPassWarning: Can not control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Password: Traceback (most recent call last):
File "/usr/lib/python3.3/getpass.py", line 63, in unix_getpass
old = termios.tcgetattr(fd) # a copy to save
termios.error: (25, 'Inappropriate ioctl for device')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pwtest.py", line 2, in <module>
print(getpass.getpass())
File "/usr/lib/python3.3/getpass.py", line 83, in unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/usr/lib/python3.3/getpass.py", line 118, in fallback_getpass
return _raw_input(prompt, stream)
File "/usr/lib/python3.3/getpass.py", line 134, in _raw_input
raise EOFError
EOFError |
|
Date |
User |
Action |
Args |
2013-12-27 07:07:34 | Dolda2000 | set | recipients:
+ Dolda2000, pitrou, r.david.murray, serhiy.storchaka |
2013-12-27 07:07:34 | Dolda2000 | set | messageid: <1388128054.71.0.699710478113.issue20074@psf.upfronthosting.co.za> |
2013-12-27 07:07:34 | Dolda2000 | link | issue20074 messages |
2013-12-27 07:07:33 | Dolda2000 | create | |
|