From: Barry Warsaw Date: Tue, 11 Mar 2003 05:03:25 +0000 (+0000) Subject: For email 2.5b1, we no longer add a trailing newline to X-Git-Tag: v2.3c1~1487 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a996d4f1370c6fad193fb87dac0a81833c632400;p=python For email 2.5b1, we no longer add a trailing newline to MIMEText.__init__()'s _text argument if it doesn't already end in a newline. This may be controversial. --- diff --git a/Doc/lib/emailmimebase.tex b/Doc/lib/emailmimebase.tex index 6bbd5dd840..3318d6aa8d 100644 --- a/Doc/lib/emailmimebase.tex +++ b/Doc/lib/emailmimebase.tex @@ -151,8 +151,7 @@ used to create MIME objects of major type \mimetype{text}. minor type and defaults to \mimetype{plain}. \var{_charset} is the character set of the text and is passed as a parameter to the \class{MIMENonMultipart} constructor; it defaults to \code{us-ascii}. No -guessing or encoding is performed on the text data, but a newline is -appended to \var{_text} if it doesn't already end with a newline. +guessing or encoding is performed on the text data. \deprecated{2.2.2}{The \var{_encoding} argument has been deprecated. Encoding now happens implicitly based on the \var{_charset} argument.}