Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22932: Fix timezones in email.utils.formatdate. | Robert Collins | 2015-07-31 | 1 | -23/+7 |
|\ | | | | | | | Patch from Dmitry Shachnev. | ||||
| * | Issue #22932: Fix timezones in email.utils.formatdate. | Robert Collins | 2015-07-31 | 1 | -23/+7 |
| | | | | | | | | Patch from Dmitry Shachnev. | ||||
* | | Issue #21448: Improve performance of the email feedparser | Raymond Hettinger | 2015-05-23 | 1 | -8/+8 |
| | | |||||
* | | Issue #6598: Increased time precision and random number range in | Serhiy Storchaka | 2015-05-19 | 1 | -5/+4 |
|\ \ | |/ | | | | | email.utils.make_msgid() to strengthen the uniqueness of the message ID. | ||||
| * | Issue #6598: Increased time precision and random number range in | Serhiy Storchaka | 2015-05-19 | 1 | -5/+4 |
| | | | | | | | | email.utils.make_msgid() to strengthen the uniqueness of the message ID. | ||||
* | | #20098: add mangle_from_ policy option. | R David Murray | 2015-05-17 | 2 | -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 Murray | 2015-05-17 | 2 | -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 Murray | 2015-05-16 | 1 | -0/+12 |
| | | | | | | | | Patch by Abhilash Raj. | ||||
* | | Escaped backslashes in docstrings. | Serhiy Storchaka | 2015-04-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Escaped backslashes in docstrings. | Serhiy Storchaka | 2015-04-03 | 1 | -1/+1 |
| | | |||||
* | | Merge: #23745: handle duplicate MIME parameter names in new parser. | R David Murray | 2015-03-30 | 1 | -7/+27 |
|\ \ | |/ | |||||
| * | #23745: handle duplicate MIME parameter names in new parser. | R David Murray | 2015-03-30 | 1 | -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 Storchaka | 2015-01-31 | 2 | -6/+0 |
| | | | | | | | | implementation in issue #21408 they are redundant. | ||||
* | | merge 3.4 (#19996) | Benjamin Peterson | 2015-01-26 | 1 | -1/+10 |
|\ \ | |/ | |||||
| * | handle headers with no key (closes #19996) | Benjamin Peterson | 2015-01-26 | 1 | -1/+10 |
| | | | | | | | | Patch by Cory Benfield. | ||||
* | | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -1/+1 |
| | | |||||
* | | Merge: #21991: make headerregistry params property MappingProxyType. | R David Murray | 2014-10-17 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | #21991: make headerregistry params property MappingProxyType. | R David Murray | 2014-10-17 | 1 | -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 Murray | 2014-10-03 | 1 | -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.4 | Georg Brandl | 2014-10-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Closes #19434: fix copy-paste error in MIMENonMultipart docstring. | Georg Brandl | 2014-10-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #16324: _charset parameter of MIMEText now also accepts ↵ | Berker Peksag | 2014-09-26 | 1 | -0/+3 |
| | | | | | | | | | | | | email.charset.Charset instances. Initial patch by Claude Paroz. | ||||
* | | Merge: #21091: make is_attachment a method. | R David Murray | 2014-09-20 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | #21091: make is_attachment a method. | R David Murray | 2014-09-20 | 1 | -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 Murray | 2014-09-20 | 1 | -3/+1 |
|\ \ | |/ | |||||
| * | #21079: is_attachment now looks only at the value, ignoring parameters. | R David Murray | 2014-09-20 | 1 | -3/+1 |
| | | |||||
* | | Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing ↵ | Serhiy Storchaka | 2014-08-12 | 1 | -8/+18 |
|\ \ | |/ | | | | | | | | | long line. Original patch by Raymond Hettinger. | ||||
| * | Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing ↵ | Serhiy Storchaka | 2014-08-12 | 1 | -8/+18 |
| | | | | | | | | | | | | long line. Original patch by Raymond Hettinger. | ||||
* | | #20977: merge with 3.4. | Ezio Melotti | 2014-08-04 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | #20977: fix undefined name in the email module. Patch by Rose Ames. | Ezio Melotti | 2014-08-04 | 1 | -3/+3 |
| | | |||||
* | | Issue #22033: Reprs of most Python implemened classes now contain actual | Serhiy Storchaka | 2014-07-25 | 1 | -2/+4 |
|/ | | | | class name instead of hardcoded one. | ||||
* | #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. | R David Murray | 2014-06-26 | 1 | -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 Murray | 2014-05-07 | 1 | -3/+6 |
| | |||||
* | #20976: remove unneeded quopri import in email.utils. | R David Murray | 2014-03-23 | 2 | -4/+2 |
| | |||||
* | Issue #20976: pyflakes: Remove unused imports | Victor Stinner | 2014-03-20 | 7 | -14/+1 |
| | |||||
* | #11558: Better message if attach called on non-multipart. | R David Murray | 2014-03-06 | 1 | -1/+5 |
| | | | | Original patch by Varun Sharma. | ||||
* | Merge: #14983: always add a line end after a MIME boundary marker. | R David Murray | 2014-02-08 | 1 | -2/+1 |
|\ | |||||
| * | #14983: always add a line end after a MIME boundary marker. | R David Murray | 2014-02-08 | 1 | -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 Murray | 2014-02-08 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | #16983: Apply postel's law to encoded words inside quoted strings. | R David Murray | 2014-02-08 | 1 | -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 Murray | 2014-02-08 | 1 | -0/+14 |
|\ \ | |/ | |||||
| * | #19772: Do not mutate message when downcoding to 7bit. | R David Murray | 2014-02-08 | 1 | -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. | ||||
* | | Merge: #17369: Improve handling of broken RFC2231 values in get_filename. | R David Murray | 2014-02-07 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | #17369: Improve handling of broken RFC2231 values in get_filename. | R David Murray | 2014-02-07 | 1 | -0/+4 |
| | | | | | | | | This fixes a regression relative to python2. | ||||
* | | Merge: #19063: the unicode-in-set_payload problem isn't getting fixed in 3.4. | R David Murray | 2014-02-07 | 1 | -4/+3 |
|\ \ | |/ | |||||
| * | #19063: the unicode-in-set_payload problem isn't getting fixed in 3.4. | R David Murray | 2014-02-07 | 1 | -4/+3 |
| | | |||||
* | | #20531: Apply the 3.3 version of the #19063 fix. | R David Murray | 2014-02-07 | 2 | -11/+26 |
| | | | | | | | | | | So passing unicode to set_payload works again (but still doesn't do what you want when the message is serialized). | ||||
* | | #20531: Revert e20f98a8ed71, the 3.4 version of the #19063 fix. | R David Murray | 2014-02-07 | 2 | -29/+22 |
| | | |||||
* | | #20476: use EmailMessage as factory if non-compat32 policy is used. | R David Murray | 2014-02-07 | 2 | -9/+18 |
| | | | | | | | | | | In 3.5 I will fix this right by adding a message_factory attribute to the policy. |