[issue20747] Charset.header_encode in email.charset doesn't take a maxlinelen argument and has inconsistent behavior with different encodings

R. David Murray report at bugs.python.org
Mon Feb 24 14:26:05 CET 2014


R. David Murray added the comment:

I've no clue, to tell you the truth.  Those APIs evolved long before I took over email package maintenance.  And since we are talking about 2.7,  we can't change the existing API.  In Python3, Charset.header_encode will as of 3.5 become a legacy interface, so there's not much point in changing it there either, although it is not out of the question if there is a use case.

----------

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


More information about the Python-bugs-list mailing list