[issue1578] Problems in win_getpass

2007-12-09 Thread vizcayno

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 "", line 1, in 
  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 <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1578] Problems in win_getpass

2007-12-10 Thread Christian Heimes

Christian Heimes added the comment:

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.

--
assignee:  -> tiran
keywords: +py3k
nosy: +tiran
priority:  -> normal

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1578] Problems in win_getpass

2007-12-10 Thread Christian Heimes

Christian Heimes added the comment:

Fixed in r59451

--
resolution:  -> fixed
status: open -> closed

__
Tracker <[EMAIL PROTECTED]>

__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com