summaryrefslogtreecommitdiffstats
path: root/Lib/email
Commit message (Collapse)AuthorAgeFilesLines
...
* Issues #23147, #23148: Presumably fixed bugs in folding UnstructuredTokenList.Serhiy Storchaka2016-07-171-2/+2
|
* #27522: break unintended cycle in feedparser.R David Murray2016-07-161-3/+6
| | | | Patch by Costas.
* Issue #27125: Fix various errors like “will [be] inherited”Martin Panter2016-05-291-1/+1
|
* Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-262-3/+3
| | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-172-4/+4
|
* Correct “an” → “a” with “Unicode”, “user”, “UTF”, etcMartin Panter2016-04-151-1/+1
| | | | This affects documentation, code comments, and a debugging messages.
* Issues #26310, #26311: Fix typos in the documentation and code commentsMartin Panter2016-02-101-1/+1
|
* Issue #22932: Fix timezones in email.utils.formatdate.Robert Collins2015-07-311-23/+7
|\ | | | | | | Patch from Dmitry Shachnev.
| * Issue #22932: Fix timezones in email.utils.formatdate.Robert Collins2015-07-311-23/+7
| | | | | | | | Patch from Dmitry Shachnev.
* | Issue #21448: Improve performance of the email feedparserRaymond Hettinger2015-05-231-8/+8
| |
* | Issue #6598: Increased time precision and random number range inSerhiy Storchaka2015-05-191-5/+4
|\ \ | |/ | | | | email.utils.make_msgid() to strengthen the uniqueness of the message ID.
| * Issue #6598: Increased time precision and random number range inSerhiy Storchaka2015-05-191-5/+4
| | | | | | | | email.utils.make_msgid() to strengthen the uniqueness of the message ID.
* | #20098: add mangle_from_ policy option.R David Murray2015-05-172-5/+16
| | | | | | | | | | | | | | This defaults to True in the compat32 policy for backward compatibility, but to False for all new policies. Patch by Milan Oberkirch, with a few tweaks.
* | #24211: Add RFC6532 support to the email library.R David Murray2015-05-172-5/+21
| | | | | | | | | | | | | | | | | | This could use more edge case tests, but the basic functionality is tested. (Note that this changeset does not add tailored support for the RFC 6532 message/global MIME type, but the email package generic facilities will handle it.) Reviewed by Maciej Szulik.
* | #21083: add get_content_disposition method to email.message.R David Murray2015-05-161-0/+12
| | | | | | | | Patch by Abhilash Raj.
* | Escaped backslashes in docstrings.Serhiy Storchaka2015-04-031-1/+1
|\ \ | |/
| * Escaped backslashes in docstrings.Serhiy Storchaka2015-04-031-1/+1
| |
* | Merge: #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-301-7/+27
|\ \ | |/
| * #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-301-7/+27
| | | | | | | | | | | | | | | | | | | | This mimics get_param's error handling for the most part. It is slightly better in some regards as get_param can produce some really weird results for duplicate *0* parts. It departs from get_param slightly in that if we have a mix of non-extended and extended pieces for the same parameter name, the new parser assumes they were all supposed to be extended and concatenates all the values, whereas get_param always picks the non-extended parameter value. All of this error recovery is pretty much arbitrary decisions...
* | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__Serhiy Storchaka2015-01-312-6/+0
| | | | | | | | implementation in issue #21408 they are redundant.
* | merge 3.4 (#19996)Benjamin Peterson2015-01-261-1/+10
|\ \ | |/
| * handle headers with no key (closes #19996)Benjamin Peterson2015-01-261-1/+10
| | | | | | | | Patch by Cory Benfield.
* | Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-1/+1
|\ \ | |/
| * Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-1/+1
| |
* | Merge: #21991: make headerregistry params property MappingProxyType.R David Murray2014-10-171-1/+2
|\ \ | |/
| * #21991: make headerregistry params property MappingProxyType.R David Murray2014-10-171-1/+2
| | | | | | | | | | | | | | | | | | It is unlikely anyone is using the fact that the dictionary returned by the 'params' attribute was previously writable, but even if someone is the API is provisional so this kind of change is acceptable (and needed, to get the API "right" before it becomes official). Patch by Stéphane Wirtel.
* | #22508: Drop email __version__ string. It no longer means anything.R David Murray2014-10-031-2/+0
| | | | | | | | | | | | A debian code search (by Tshepang Lekhonkhobe) turned up only one package checking email.__version__...and it was the 2.7-only mailman package. Since Barry approves this change, it seems safe enough to make it...
* | merge 3.4Georg Brandl2014-10-021-1/+1
|\ \ | |/
| * Closes #19434: fix copy-paste error in MIMENonMultipart docstring.Georg Brandl2014-10-021-1/+1
| |
* | Issue #16324: _charset parameter of MIMEText now also accepts ↵Berker Peksag2014-09-261-0/+3
| | | | | | | | | | | | email.charset.Charset instances. Initial patch by Claude Paroz.
* | Merge: #21091: make is_attachment a method.R David Murray2014-09-201-3/+3
|\ \ | |/
| * #21091: make is_attachment a method.R David Murray2014-09-201-3/+17
| | | | | | | | | | | | 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.
* | Merge: #21079: is_attachment now looks only at the value, ignoring parameters.R David Murray2014-09-201-3/+1
|\ \ | |/
| * #21079: is_attachment now looks only at the value, ignoring parameters.R David Murray2014-09-201-3/+1
| |
* | Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing ↵Serhiy Storchaka2014-08-121-8/+18
|\ \ | |/ | | | | | | | | long line. Original patch by Raymond Hettinger.
| * Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing ↵Serhiy Storchaka2014-08-121-8/+18
| | | | | | | | | | | | long line. Original patch by Raymond Hettinger.
* | #20977: merge with 3.4.Ezio Melotti2014-08-041-3/+3
|\ \ | |/
| * #20977: fix undefined name in the email module. Patch by Rose Ames.Ezio Melotti2014-08-041-3/+3
| |
* | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-251-2/+4
|/ | | | class name instead of hardcoded one.
* #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.R David Murray2014-06-261-1/+3
| | | | This makes the behavior match that of Parser. Patch by Vajrasky Kok.
* #21300: Clean up the docs for the email "policy" arguments.R David Murray2014-05-071-3/+6
|
* #20976: remove unneeded quopri import in email.utils.R David Murray2014-03-232-4/+2
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-207-14/+1
|
* #11558: Better message if attach called on non-multipart.R David Murray2014-03-061-1/+5
| | | | Original patch by Varun Sharma.
* Merge: #14983: always add a line end after a MIME boundary marker.R David Murray2014-02-081-2/+1
|\
| * #14983: always add a line end after a MIME boundary marker.R David Murray2014-02-081-2/+1
| | | | | | | | | | | | | | | | | | This is more RFC compliant (see issue) and fixes a problem with signature verifiers rejecting the part when signed. There is some amount of backward compatibility concern here since it changes the output, but the RFC issue coupled with fixing the problem with signature verifiers seems worth the small risk of breaking code that depends on the current incorrect output.
* | Merge: #16983: Apply postel's law to encoded words inside quoted strings.R David Murray2014-02-081-0/+7
|\ \ | |/
| * #16983: Apply postel's law to encoded words inside quoted strings.R David Murray2014-02-081-0/+7
| | | | | | | | | | | | | | | | | | | | This applies only to the new parser. The old parser decodes encoded words inside quoted strings already, although it gets the whitespace wrong when it does so. This version of the patch only handles the most common case (a single encoded word surrounded by quotes), but I haven't seen any other variations of this in the wild yet, so its good enough for now.
* | Merge #19772: Do not mutate message when downcoding to 7bit.R David Murray2014-02-081-0/+14
|\ \ | |/
| * #19772: Do not mutate message when downcoding to 7bit.R David Murray2014-02-081-0/+14
| | | | | | | | | | | | | | | | | | This is a bit of an ugly hack because of the way generator pieces together the output message. The deepcopys aren't too expensive, though, because we know it is only called on messages that are not multiparts, and the payload (the thing that could be large) is an immutable object. Test and preliminary work on patch by Vajrasky Kok.