[issue21492] email.header.decode_header sometimes returns bytes, sometimes str

R. David Murray report at bugs.python.org
Tue May 13 15:15:12 CEST 2014


R. David Murray added the comment:

Hmm.  It looks like we decided that we couldn't fix the behavior for backward compatibility reasons.  In 3.4 you can use the new email policies to get automatic, correct stringification of headers.

----------

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


More information about the Python-bugs-list mailing list