This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dolda2000
Recipients Dolda2000, pitrou, r.david.murray, serhiy.storchaka
Date 2013-12-27.07:07:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388128054.71.0.699710478113.issue20074@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-12-27 07:07:34Dolda2000setrecipients: + Dolda2000, pitrou, r.david.murray, serhiy.storchaka
2013-12-27 07:07:34Dolda2000setmessageid: <1388128054.71.0.699710478113.issue20074@psf.upfronthosting.co.za>
2013-12-27 07:07:34Dolda2000linkissue20074 messages
2013-12-27 07:07:33Dolda2000create