Update of /cvsroot/tmda/tmda/TMDA
In directory usw-pr-cvs1:/tmp/cvs-serv7162/TMDA
Modified Files:
ChangeLog
Log Message:
Sync pythonlib/email with email 2.4. Changes from NEWS:
2.4 (01-Oct-2002)
This version has been backported to Python 2.2.2.
- Updated all the documentation.
- Clarification to the semantics of Header.__init__() and
Header.append() when it gets byte strings and Unicode strings as
its first argument. When a byte string is used, the charset
must be the encoding of the string, such that unicode(s,charset)
succeeds. When a Unicode string is used, the charset is a hint,
and the first of the following to succeed is used: us-ascii, the
charset hint, utf-8.
- A new header encoding flag has been added to the Charset
module. SHORTEST (which cannot be used for body encodings)
returns the string either quoted-printable or base64 encoding,
whichever is shortest in terms of characters. This is a good
heuristic for providing the most human readable value possible.
The utf-8 charset uses SHORTEST encoding by default now.
- Message.get_content_charset() is a new method that returns the
charset parameter on the Content-Type header, unquoted and RFC
2231 decoded if necessary.
- "import email" no longer imports some sub-modules by side-effect.
- Fixed some problems related to RFC 2231 encoding of boundary and
charset parameters on Content-Type headers. Document that
get_param() and get_params() may return values that are strings
or 3-tuples.
- The signature of the non-public function _structure() has
changed.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -r1.231 -r1.232
--- ChangeLog 30 Sep 2002 23:45:54 -0000 1.231
+++ ChangeLog 1 Oct 2002 20:06:22 -0000 1.232
@@ -1,3 +1,7 @@
+2002-10-01 Jason R. Mastaler <[EMAIL PROTECTED]>
+
+ * pythonlib/email: Sync up with email 2.4.
+
2002-09-30 Jason R. Mastaler <[EMAIL PROTECTED]>
* Util.py (sendmail): Accept a whole message string rather than
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs