[New-bugs-announce] [issue1578] Problems in win_getpass

vizcayno report at bugs.python.org
Mon Dec 10 03:50:27 CET 2007


New submission from vizcayno:

.python
Python 3.0a2 (r30a2:59397:59399, Dec  6 2007, 22:34:52) [MSC v.1500 32 
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import getpass
>>> clave = getpass.getpass('PASSWD= ').strip().upper()
PASSWD= Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\python30\lib\getpass.py", line 63, in win_getpass
    pw = pw + c
TypeError: Can't convert 'bytes' object to str implicitly
>>>
 I get the error when I try to type the first letter of a password.

----------
components: Windows
messages: 58338
nosy: vizcayno
severity: normal
status: open
title: Problems in win_getpass
type: crash
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1578>
__________________________________


More information about the New-bugs-announce mailing list