[issue28881] int no attribute 'lower' iterating email.Message

R. David Murray report at bugs.python.org
Mon Dec 5 17:37:52 EST 2016


R. David Murray added the comment:

I had no memory that __iter__ wasn't implemented in python2, thanks Martin.  So, this isn't really a bug, though one could argue it should be mentioned explicitly in the 2.7 docs, since it is definitely counter-intuitive to a python programmer.

----------

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


More information about the Python-bugs-list mailing list