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.

Title: Problems in win_getpass
Type: crash Stage:
Components: Windows Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: christian.heimes Nosy List: christian.heimes, vizcayno
Priority: normal Keywords:

Created on 2007-12-10 02:50 by vizcayno, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg58338 - (view) Author: vizcayno (vizcayno) Date: 2007-12-10 02:50
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\", 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.
msg58349 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-12-10 15:40
I've added wide char API variants of the get and put commands to msvcrt
in the trunk. I'm going to fix the problem with the new functions.
msg58354 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-12-10 17:02
Fixed in r59451
Date User Action Args
2022-04-11 14:56:28adminsetgithub: 45919
2008-01-06 22:29:44adminsetkeywords: - py3k
versions: Python 3.0
2007-12-10 17:02:21christian.heimessetstatus: open -> closed
resolution: fixed
messages: + msg58354
2007-12-10 15:40:04christian.heimessetpriority: normal
assignee: christian.heimes
messages: + msg58349
keywords: + py3k
nosy: + christian.heimes
2007-12-10 02:50:27vizcaynocreate