[issue8489] smtplib.SMTP.login() breaks with unicode input

Domen report at bugs.python.org
Wed Apr 21 21:17:50 CEST 2010


New submission from Domen <ielectric at gmail.com>:

Module smtplib, line 574, in login
  Module smtplib, line 538, in encode_cram_md5
  Module hmac, line 72, in __init__
TypeError: character mapping must return integer, None or unicode

Following traceback occurs when doing connection.login(u'foobar at domain.com', 'justdoit') to issue an ESMTP.

Python 2.6.4 (r264:75706, Mar 11 2010, 18:33:18)

----------
components: Unicode
messages: 103890
nosy: iElectric
severity: normal
status: open
title: smtplib.SMTP.login() breaks with unicode input
type: crash
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8489>
_______________________________________


More information about the Python-bugs-list mailing list