This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Pedro Lacerda
Recipients Pedro Lacerda, barry, berker.peksag, frispete, r.david.murray
Date 2016-06-18.04:18:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466223504.73.0.399951844858.issue27258@psf.upfronthosting.co.za>
In-reply-to
Content
Seems that ``token.has_fws`` evaluates to True in the following condition

    if token.has_fws:

causing ``token._fold(self)`` where isn't needed and raising the exception. Hope it helps!

By the way, why the _header_value_parser.py was removed from the repository?
https://github.com/python/cpython/blob/master/Lib/email/_header_value_parser.py#L144
History
Date User Action Args
2016-06-18 04:18:24Pedro Lacerdasetrecipients: + Pedro Lacerda, barry, frispete, r.david.murray, berker.peksag
2016-06-18 04:18:24Pedro Lacerdasetmessageid: <1466223504.73.0.399951844858.issue27258@psf.upfronthosting.co.za>
2016-06-18 04:18:24Pedro Lacerdalinkissue27258 messages
2016-06-18 04:18:24Pedro Lacerdacreate