Raphael Slinckx added the comment: It happens regularly for emails with long header lines for me too, which makes the python3 email module quite unusable.
A workaround which seems to help a bit is to set refold_source='none' on the email policy, although it seems to keep happening, less often. Is the fix proposed by Emmanuel a proper fix ? I'm not knowledgeable enough on this subject... ---------- nosy: +rslinckx _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27240> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com