summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_email/test_message.py
Commit message (Collapse)AuthorAgeFilesLines
* #24277: The new email API is no longer provisional.R David Murray2016-09-081-0/+20
| | | | | | | This is a wholesale reorganization and editing of the email documentation to make the new API the standard one, and the old API the 'legacy' one. The default is still the compat32 policy, for backward compatibility. We will change that eventually.
* 27988: Make sure iter_attachments does not mutate the payload list.R David Murray2016-09-071-0/+10
|
* Merge: #21091: make is_attachment a method.R David Murray2014-09-201-5/+5
|\
| * #21091: make is_attachment a method.R David Murray2014-09-201-5/+15
|/ | | | | | Since EmailMessage is a provisional API we can fix API bugs in a maintenance release, but I used a trick suggested by Serhiy to maintain backward compatibility with 3.4.0/1.
* #21079: is_attachment now looks only at the value, ignoring parameters.R David Murray2014-09-201-1/+2
|
* #20476: use EmailMessage as factory if non-compat32 policy is used.R David Murray2014-02-071-1/+15
| | | | | In 3.5 I will fix this right by adding a message_factory attribute to the policy.
* #18891: Complete new provisional email API.R David Murray2013-10-171-1/+741
| | | | | | | | | | | | This adds EmailMessage and, MIMEPart subclasses of Message with new API methods, and a ContentManager class used by the new methods. Also a new policy setting, content_manager. Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka, and reflects their feedback. I will ideally add some examples of using the new API to the documentation before the final release.
* #10839: add new test file that was omitted from checkinR David Murray2012-05-291-0/+18