[issue35057] Email header refolding adds additional \r in nested parse trees

2018-10-24 Thread R. David Murray
R. David Murray added the comment: Thank you for the report. This is a duplicate of #34424, which has a PR. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___

[issue35057] Email header refolding adds additional \r in nested parse trees

2018-10-24 Thread Michael Thies
New submission from Michael Thies : Email header refolding in email._header_value_parser adds additional carriage return symbols to the end of nested parse trees, when used with an EmailPolicy with linesep='\r\n'. This leads to broken email headers when composing an email with a "To:" or "CC: