New submission from R. David Murray:

Currently the string generator will downcast 8bit body parts to 7bit by 
encoding them using a 7bit CTE.  This is good.  However, the way it does it is 
to modify the Message object accordingly.  This is not good.  Except for 
filling in required missing bits of data (such as MIME borders), serializing a 
Message should not mutate it.  (And, for the curious, I am the one who made 
this mistake when I wrote the code :)

----------
components: Library (Lib), email
keywords: easy
messages: 204356
nosy: barry, r.david.murray, vajrasky
priority: normal
severity: normal
stage: needs patch
status: open
title: str serialization of Message object may mutate the payload and CTE.
type: behavior
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to