[New-bugs-announce] [issue22965] smtplib.py: senderrs[each] -> TypeError: unhashable instance

mattes report at bugs.python.org
Sat Nov 29 09:57:52 CET 2014


New submission from mattes:

I get the following error:

File "/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/smtplib.py", line 731, in sendmail
    senderrs[each] = (code, resp)
TypeError: unhashable instance

senderrs[str(each)] = (code, resp) fixes it. Not sure if that is the best fix though.

See also http://stackoverflow.com/questions/27195432/google-app-engine-mail-send-returns-typeerror-unhashable-instance-in-python2

----------
components: Library (Lib), email
messages: 231854
nosy: barry, mattes, r.david.murray
priority: normal
severity: normal
status: open
title: smtplib.py: senderrs[each] -> TypeError: unhashable instance
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list