summaryrefslogtreecommitdiffstats
path: root/Lib/email/MIMEText.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-28/+0
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Big email 3.0 API changes, with updated unit tests and documentation.Barry Warsaw2004-10-031-22/+5
| | | | | | | | | | | | | | | | | Briefly (from the NEWS file): - Updates for the email package: + All deprecated APIs that in email 2.x issued warnings have been removed: _encoder argument to the MIMEText constructor, Message.add_payload(), Utils.dump_address_pair(), Utils.decode(), Utils.encode() + New deprecations: Generator.__call__(), Message.get_type(), Message.get_main_type(), Message.get_subtype(), the 'strict' argument to the Parser constructor. These will be removed in email 3.1. + Support for Python earlier than 2.3 has been removed (see PEP 291). + All defect classes have been renamed to end in 'Defect'. + Some FeedParser fixes; also a MultipartInvariantViolationDefect will be added to messages that claim to be multipart but really aren't. + Updates to documentation.
* __init__(): Don't add a newline to _text if it doesn't already end inBarry Warsaw2003-03-111-4/+1
| | | | one. Possibly controversial.
* Docstring consistency with the updated .tex files.Barry Warsaw2002-10-011-3/+3
|
* __init__(): Minor code cleanup.Barry Warsaw2002-09-281-1/+1
|
* Use absolute import paths for intrapackage imports.Barry Warsaw2002-06-021-5/+5
| | | | | Use MIMENonMultipart as the base class so that you can't attach() to these non-multipart message types.
* Sync'ing with standalone email package 2.0.1. This adds support forBarry Warsaw2002-04-101-14/+21
| | | | | | | | | non-us-ascii character sets in headers and bodies. Some API changes (with DeprecationWarnings for the old APIs). Better RFC-compliant implementations of base64 and quoted-printable. Updated test cases. Documentation updates to follow (after I finish writing them ;).
* Give me back my page breaks.Barry Warsaw2001-10-041-1/+1
|
* Whitespace normalization.Tim Peters2001-10-041-1/+1
|
* Image.py and class Image => MIMEImage.py and MIMEImageBarry Warsaw2001-09-261-0/+41
Text.py and class Text => MIMEText.py and MIMEText MessageRFC822.py and class MessageRFC822 => MIMEMessage.py and MIMEMessage These are renamed so as to be more consistent; these are MIME specific derived classes for when creating the object model out of whole cloth.