[New-bugs-announce] [issue11555] email.Message.as_string no longer mangles "From " (doc fix)

Michael Henry report at bugs.python.org
Tue Mar 15 16:15:43 CET 2011

New submission from Michael Henry <python at drmikehenry.com>:

The function email.Message.as_string has an out-of-date comment:

This is a convenience method and may not generate the message exactly
as you intend because by default it mangles lines that begin with
"From ".  For more flexibility, use the flatten() method of a
Generator instance.

The functionality has changed such that "From " mangling is no longer done.

components: Library (Lib)
messages: 130981
nosy: michael.henry, r.david.murray
priority: normal
severity: normal
status: open
title: email.Message.as_string no longer mangles "From " (doc fix)

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list