[issue1645148] MIME renderer: wrong header line break with long subject?

Kayne Naughton report at bugs.python.org
Mon May 12 04:07:52 CEST 2008


Kayne Naughton <kayne.naughton at acma.gov.au> added the comment:

Just struck this myself, found Andi's solution to work.

Constructing the header using email.header stops it from breaking the
line awkwardly (vs. just storing a string).

Suggest the documentation example page be updated to use header() in
place of straight strings.

(I can only guess as to they why of this, it seems not to hang the
indent more than a space when using header).

----------
nosy: +kayne

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1645148>
_____________________________________


More information about the Python-bugs-list mailing list