R. David Murray added the comment: It looks like a bug, but I'm not sure why as_bytes would trigger it but not as_string.
Can you supply a copy of the message that fails? The as_string version (assuming the content was all ascii) should be enough to reproduce the issue, since it appears to be happening in the header folding step. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22684> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com