[issue6302] email.header.decode_header data types are inconsistent and incorrectly documented
Antoine Pitrou
report at bugs.python.org
Mon Oct 4 17:24:51 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> I agree that it makes sense to have consistent types in the output.
> As for whether to add a new method or fix the existing one, I'm a bit
> torn, but I'd probably opt for fixing the existing function rather
> than adding a new one, just because I think there are few Python 3
> applications out there that are counting on the old behavior. (I
> could be wrong though ;).
The point of a new method is to return the header as a human-readable
string, rather than a list of tuples. It has added value besides leaving
the old method alone ;)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6302>
_______________________________________
More information about the Python-bugs-list
mailing list