summaryrefslogtreecommitdiffstats
path: root/Doc/library/email.message.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-1/+1
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-35404: Clarify how to import _structure in email.message doc (GH-10886)Charles-Axel Dein2019-01-091-1/+1
|
* Correct a couple of unbalanced parenthesis. (GH-10779)Andre Delfino2018-12-051-3/+3
|
* bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)Serhiy Storchaka2018-10-311-2/+2
|
* Fix typos in multiple `.rst` files (#1668)delirious-lettuce2017-05-191-5/+5
|
* Fixed a handful of typos (GH-343)Alex Gaynor2017-03-011-1/+1
|
* Fix typos in documentationMartin Panter2016-11-201-1/+1
|
* 24277: Make it clearer that the new modules are not provisional.R David Murray2016-09-081-7/+8
| | | | | Also make it clear on the contents page what chapters are about the legacy API.
* #24277: The new email API is no longer provisional.R David Murray2016-09-081-332/+386
| | | | | | | 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.
* Issue #27209: Fix doctests in Doc/library/email*.rstZachary Ware2016-08-101-10/+10
| | | | Patch by Jelle Zijlstra.
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+3
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* #21083: add get_content_disposition method to email.message.R David Murray2015-05-161-0/+9
| | | | Patch by Abhilash Raj.
* #18854: make it explicit that is_multipart does not mean 'multipart/xxx'.R David Murray2014-09-271-17/+54
| | | | Original patch (and the idea of using _structure) by Abhilash Raj.
* #21300: fix typoR David Murray2014-05-081-1/+1
|
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-2/+2
|
* #20531: Revert e20f98a8ed71, the 3.4 version of the #19063 fix.R David Murray2014-02-071-7/+1
|
* #19063: fix set_payload handling of non-ASCII string input.R David Murray2013-12-111-1/+7
| | | | | This version of the fix raises an error instead of accepting the invalid input (ie: if a non-ASCII string is used but no charset is specified).
* Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
|\
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
| |
* | Fix suspicious markup in the docs.Georg Brandl2013-11-241-1/+1
| |
* | #18891: Complete new provisional email API.R David Murray2013-10-171-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #18761: Improved cross-references in email documentation.Serhiy Storchaka2013-08-191-6/+8
|\ \ | |/
| * Issue #18761: Improved cross-references in email documentation.Serhiy Storchaka2013-08-191-5/+6
| |
| * #18600: In 3.3, as_string does not accept a policy keyword.R David Murray2013-08-091-2/+8
| | | | | | | | Also, document the policy keyword that was added to Message in 3.3.
* | #18600: add policy to add_string, and as_bytes and __bytes__ methods.R David Murray2013-08-091-9/+69
|/ | | | | | | This was triggered by wanting to make the doctest in email.policy.rst pass; as_bytes and __bytes__ are clearly useful now that we have BytesGenerator. Also updated the Message docs to document the policy keyword that was added in 3.3.
* #18584: make doctest examples in email documentation pass.R David Murray2013-07-291-10/+19
| | | | | | | | | | | With the exception of the 'as_string' call in the policy docs. That one is a separate issue. Note that when building the docs sphinx is complaining about .. testcleanup:: being an invalid directive. I don't know why this is, as I'm following the sphinx docs...but fortunately the action is to omit the text in the body, so the generated documentation is correct.
* #1672568: email now registers defects for base64 payload format errors.R David Murray2012-05-281-2/+6
| | | | | | | | | | | | | | | Which also means that it is now producing *something* for any base64 payload, which is what leads to the couple of older test changes in test_email. This is a slightly backward incompatible behavior change, but the new behavior is so much more useful than the old (you can now *reliably* detect errors, and any program that was detecting errors by sniffing for a base64 return from get_payload(decode=True) and then doing its own error-recovery decode will just get the error-recovery decode right away). So this seems to me to be worth the small risk inherent in this behavior change. This patch also refactors the defect tests into a separate test file, since they are no longer just parser tests.
* #11785: fix the :mod: references in email package submodule titles.R David Murray2012-05-271-2/+2
| | | | Also adds the TOC entry for headerregistry.
* Remove duplication.Ezio Melotti2011-10-191-1/+1
|
* Merge #11216: document all possible set_charset execution paths.R David Murray2011-03-151-9/+16
|\
| * #11216: document all possible set_charset execution paths.R David Murray2011-03-151-9/+16
| |
* | Merge #11555 as_string doc fix from 3.1.R David Murray2011-03-151-3/+4
|\ \ | |/
| * #11555: update doc for 3.x change to as_string mangle_from default.R David Murray2011-03-151-3/+4
| |
* | Merge redundant __contains__ doc fix from 3.1.R David Murray2011-03-151-6/+0
|\ \ | |/
| * Remove redundant __contains__ entry from Message docs.R David Murray2011-03-151-6/+0
| |
| * Merged revisions 87217 via svnmerge fromR. David Murray2010-12-131-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87217 | r.david.murray | 2010-12-13 18:51:19 -0500 (Mon, 13 Dec 2010) | 5 lines #1078919: make add_header automatically do RFC2231 encoding when needed. Also document the use of three-tuples if control of the charset and language is desired. ........
| * Merged revisions 78657 via svnmerge fromR. David Murray2010-03-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78657 | r.david.murray | 2010-03-04 12:38:18 -0500 (Thu, 04 Mar 2010) | 10 lines Merged revisions 78656 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78656 | r.david.murray | 2010-03-04 12:34:05 -0500 (Thu, 04 Mar 2010) | 3 lines Fix documentation of email.Message.get_filename to match the fix applied in Issue 7082. ........ ................
| * Merged revisions 77417 via svnmerge fromR. David Murray2010-01-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77417 | r.david.murray | 2010-01-10 14:18:27 -0500 (Sun, 10 Jan 2010) | 10 lines Merged revisions 77412 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines Issue #7119: document that a program-generated Message object tree may be mutated when serialized. ........ ................
* | #10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.R. David Murray2011-01-071-3/+4
| | | | | | | | | | | | This applies only when generating strings from non-RFC compliant binary input; it makes the existing recoding behavior more consistent (ie: now no data is lost when recoding).
* | Fix markup error and update suspicious file.Georg Brandl2010-12-191-2/+2
| |
* | #1078919: make add_header automatically do RFC2231 encoding when needed.R. David Murray2010-12-131-2/+19
| | | | | | | | | | Also document the use of three-tuples if control of the charset and language is desired.
* | Fix sphinx role markups.Senthil Kumaran2010-10-151-4/+5
| |
* | #4661: add bytes parsing and generation to email (email version bump to 5.1.0)R. David Murray2010-10-081-3/+15
| | | | | | | | | | | | | | | | The work on this is not 100% complete, but everything is present to allow real-world testing of the code. The only remaining major todo item is to (hopefully!) enhance the handling of non-ASCII bytes in headers converted to unicode by RFC2047 encoding them rather than replacing them with '?'s.
* | Merged revisions 78656 via svnmerge fromR. David Murray2010-03-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78656 | r.david.murray | 2010-03-04 12:34:05 -0500 (Thu, 04 Mar 2010) | 3 lines Fix documentation of email.Message.get_filename to match the fix applied in Issue 7082. ........
* | Merged revisions 77412 via svnmerge fromR. David Murray2010-01-101-1/+4
|/ | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines Issue #7119: document that a program-generated Message object tree may be mutated when serialized. ........
* Use new optional argument style in email docs.Georg Brandl2009-05-171-15/+16
|
* Merged revisions 71572 via svnmerge fromGeorg Brandl2009-04-271-14/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71572 | georg.brandl | 2009-04-13 15:13:25 +0200 (Mo, 13 Apr 2009) | 1 line #5745: more linking for identifiers in email docs. ........
* Merged revisions 71544,71546,71554-71555 via svnmerge fromGeorg Brandl2009-04-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71544 | benjamin.peterson | 2009-04-13 01:19:56 +0200 (Mo, 13 Apr 2009) | 1 line fix extra parenthesis #5774 ........ r71546 | benjamin.peterson | 2009-04-13 01:44:15 +0200 (Mo, 13 Apr 2009) | 1 line fix missing quote ........ r71554 | hirokazu.yamamoto | 2009-04-13 03:07:06 +0200 (Mo, 13 Apr 2009) | 1 line Fixed typo. (email.Utils => email.utils) ........ r71555 | hirokazu.yamamoto | 2009-04-13 03:21:56 +0200 (Mo, 13 Apr 2009) | 1 line Fixed another typos. (email.Utils => email.utils) ........
* Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 ↵Benjamin Peterson2008-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r65209 | raymond.hettinger | 2008-07-23 19:08:18 -0500 (Wed, 23 Jul 2008) | 1 line Finish-up the partial conversion from int to Py_ssize_t for deque indices and length. ........ r65210 | raymond.hettinger | 2008-07-23 19:53:49 -0500 (Wed, 23 Jul 2008) | 1 line Parse to the correct datatype. ........ r65211 | benjamin.peterson | 2008-07-23 21:27:46 -0500 (Wed, 23 Jul 2008) | 1 line fix spacing ........ r65212 | benjamin.peterson | 2008-07-23 21:31:28 -0500 (Wed, 23 Jul 2008) | 1 line fix markup ........ r65213 | benjamin.peterson | 2008-07-23 21:45:37 -0500 (Wed, 23 Jul 2008) | 1 line add some documentation for 2to3 ........ r65214 | raymond.hettinger | 2008-07-24 00:38:48 -0500 (Thu, 24 Jul 2008) | 1 line Finish conversion from int to Py_ssize_t. ........ r65215 | raymond.hettinger | 2008-07-24 02:04:55 -0500 (Thu, 24 Jul 2008) | 1 line Convert from long to Py_ssize_t. ........ r65216 | georg.brandl | 2008-07-24 02:09:21 -0500 (Thu, 24 Jul 2008) | 2 lines Fix indentation. ........ r65225 | benjamin.peterson | 2008-07-25 11:55:37 -0500 (Fri, 25 Jul 2008) | 1 line teach .bzrignore about doc tools ........ r65226 | benjamin.peterson | 2008-07-25 12:02:11 -0500 (Fri, 25 Jul 2008) | 1 line document default value for fillvalue ........ r65233 | raymond.hettinger | 2008-07-25 13:43:33 -0500 (Fri, 25 Jul 2008) | 1 line Issue 1592: Better error reporting for operations on closed shelves. ........ r65239 | benjamin.peterson | 2008-07-25 16:59:53 -0500 (Fri, 25 Jul 2008) | 1 line fix indentation ........ r65246 | andrew.kuchling | 2008-07-26 08:08:19 -0500 (Sat, 26 Jul 2008) | 1 line This sentence continues to bug me; rewrite it for the second time ........ r65247 | andrew.kuchling | 2008-07-26 08:09:06 -0500 (Sat, 26 Jul 2008) | 1 line Remove extra words ........ r65255 | skip.montanaro | 2008-07-26 19:49:02 -0500 (Sat, 26 Jul 2008) | 3 lines Close issue 3437 - missing state change when Allow lines are processed. Adds test cases which use Allow: as well. ........ r65256 | skip.montanaro | 2008-07-26 19:50:41 -0500 (Sat, 26 Jul 2008) | 2 lines note robotparser bug fix. ........
* Remove last traces of cStringIO.Georg Brandl2008-06-101-1/+1
|