[issue14062] UTF-8 Email Subject problem
R. David Murray
report at bugs.python.org
Wed Mar 14 19:00:12 CET 2012
R. David Murray <rdmurray at bitdance.com> added the comment:
OK, got it. When I created BytesParser I turned the 'NL' constant into a class attribute, but in the line that handles Header objects in BytesParser I failed to change NL to self._NL. So when send_message calls flatten with linesep='\r\n', in that one place it was using \n instead of the correct linesep.
I've got a patch which I will commit shortly.
assignee: -> r.david.murray
components: +Library (Lib) -None
stage: -> commit review
type: -> behavior
versions: +Python 3.3
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list