[issue1459867] Message.as_string should use "mangle_from_=unixfrom"?

R. David Murray report at bugs.python.org
Mon Jan 11 23:01:14 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

If I understand correctly, this is related to issue 1440472.  There the complaint is made that what you get out is not what you put in, since unixfrom defaults to True.  But that's only true for __str__.  As kxroberto points out, in as_string it defaults to False.  Instead, he suggests, it could default to the value of unixfrom set on the Message object, which would make it at least a little bit more likely to preserve format of the message that was fed into it.

----------
nosy: +r.david.murray
stage:  -> test needed
type:  -> behavior
versions: +Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1459867>
_______________________________________


More information about the Python-bugs-list mailing list