New submission from Silla Rizzoli <silla.rizz...@gmail.com>: Sometimes RFC-correct email headers do not get folded correctly; the example code below results in an infinite recursion exception.
import sys import mailbox from email.message import EmailMessage from email.headerregistry import Address from email import policy ePol = policy.SMTP.clone(refold_source='long',max_line_length=78) msg = EmailMessage(ePol) msg['From'] = Address("abcdefgh ijklnopq","a.ijklnopq","antani.com") msg['To'] = (Address("abcdef.ghijkl...@pqrstuvwxyz12345678.it","abcdef.ghijklmnop","pqrstuvwxyz12345678.it"), Address("Jane Doe", "jane", "doe.com")) msg['Subject'] = "Test" msg.set_content("Body") finalMail = msg.as_string() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.6/email/message.py", line 968, in as_string return super().as_string(maxheaderlen=maxheaderlen, policy=policy) File "/usr/lib/python3.6/email/message.py", line 158, in as_string g.flatten(self, unixfrom=unixfrom) File "/usr/lib/python3.6/email/generator.py", line 116, in flatten self._write(msg) File "/usr/lib/python3.6/email/generator.py", line 195, in _write self._write_headers(msg) File "/usr/lib/python3.6/email/generator.py", line 222, in _write_headers self.write(self.policy.fold(h, v)) File "/usr/lib/python3.6/email/policy.py", line 183, in fold return self._fold(name, value, refold_binary=True) File "/usr/lib/python3.6/email/policy.py", line 205, in _fold return value.fold(policy=self) File "/usr/lib/python3.6/email/headerregistry.py", line 255, in fold return header.fold(policy=policy) File "/usr/lib/python3.6/email/_header_value_parser.py", line 300, in fold self._fold(folded) File "/usr/lib/python3.6/email/_header_value_parser.py", line 1226, in _fold rest._fold(folded) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 338, in _fold if folded.append_if_fits(part, tstr): File "/usr/lib/python3.6/email/_header_value_parser.py", line 149, in append_if_fits token._fold(self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 325, in _fold tstr = str(part) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in __str__ return ''.join(str(x) for x in self) File "/usr/lib/python3.6/email/_header_value_parser.py", line 196, in <genexpr> return ''.join(str(x) for x in self) RecursionError: maximum recursion depth exceeded while calling a Python object ---------- components: email messages: 307319 nosy: Silla Rizzoli, barry, r.david.murray priority: normal severity: normal status: open title: Infinite recursion in email.message.as_string() type: crash versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32182> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com