[New-bugs-announce] [issue29750] smtplib doesn't handle unicode passwords

david report at bugs.python.org
Tue Mar 7 15:40:24 EST 2017


New submission from david:

Trying to use unicode passwords on smtplib fails miserably on python3.
My particular issue arises on line 643 of said library:

(code, resp) = self.docmd(encode_base64(password.encode('ascii'), eol=''))

which obviously dies when trying to handle unicode chars.

----------
components: Library (Lib)
messages: 289184
nosy: david__
priority: normal
severity: normal
status: open
title: smtplib doesn't handle unicode passwords
versions: Python 3.4

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


More information about the New-bugs-announce mailing list