[issue11584] email.decode_header fails if msg.__getitem__ returns Header object
R. David Murray
report at bugs.python.org
Fri Mar 25 17:24:06 CET 2011
R. David Murray <rdmurray at bitdance.com> added the comment:
Theoretically there should be no way to get bytes into that code path. I'm sure there's a way if you try hard enough (I haven't tried directly assigning a byte string as a header value, for example), but they would be broken uses of the API. If you have an identifiable bug, though, open an issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11584>
_______________________________________
More information about the Python-bugs-list
mailing list