[issue15570] email.header.decode_header parses differently

R. David Murray report at bugs.python.org
Tue Aug 7 14:36:09 CEST 2012


R. David Murray added the comment:

This is an intentional change (see issue 1079).  It is entirely possible that this bug fix should be reverted, however, because of backward compatibility concerns.  I'm open to that argument, but I'd prefer to keep the fixed behavior, since the unfixed behavior causes us to violate the RFCs in several cases, as you can see from that and the related issues.

Note also the availability in 3.3 of the provisional email policies that will do an automatic full decode-to-unicode of such headers.

----------
components: +email -Library (Lib)
nosy: +barry, r.david.murray

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


More information about the Python-bugs-list mailing list