Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #28407 Improve test coverage of make_msgid. | R David Murray | 2016-12-18 | 1 | -0/+12 |
|\ | |||||
| * | #28407 Improve test coverage of make_msgid. | R David Murray | 2016-12-18 | 1 | -0/+12 |
| | | | | | | | | Patch by Dillon Brock. | ||||
| * | #19003: Only replace \r and/or \n line endings in email.generator. | R David Murray | 2016-09-11 | 1 | -0/+12 |
| | | | | | | | | | | This is a further restoration of backward compatibility, as well as being correct per the RFCs. | ||||
* | | Merge: #19003: Only replace \r and/or \n line endings in email.generator. | R David Murray | 2016-09-11 | 1 | -0/+12 |
| | | |||||
* | | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
* | | Issue #27445: Merge from 3.5 | Berker Peksag | 2016-09-08 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Issue #27445: Don't pass str(_charset) to MIMEText.set_payload() | Berker Peksag | 2016-09-08 | 1 | -1/+4 |
| | | | | | | | | Patch by Claude Paroz. | ||||
| * | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 1 | -2/+2 |
| | | |||||
* | | Merge: #22233: Only split headers on \r and/or \n, per email RFCs. | R David Murray | 2016-09-07 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | #22233: Only split headers on \r and/or \n, per email RFCs. | R David Murray | 2016-09-07 | 1 | -2/+4 |
| | | | | | | | | Original patch by Martin Panter, new policy fixes by me. | ||||
* | | #27331: add policy keyword argument to all MIME subclasses. | R David Murray | 2016-09-07 | 1 | -0/+41 |
| | | | | | | | | Patch by Berker Peksag. | ||||
* | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 1 | -2/+2 |
| | | |||||
* | | Merge ISO-8859 fixes from 3.5 | Martin Panter | 2016-08-10 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Correct misspellings of ISO-8859 | Martin Panter | 2016-08-10 | 1 | -2/+2 |
| | | |||||
* | | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+0 |
|/ | |||||
* | Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions. | Serhiy Storchaka | 2015-11-10 | 1 | -1/+1 |
|\ | | | | | | | Use time.monotonic instead of time.clock. | ||||
| * | Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions. | Serhiy Storchaka | 2015-11-10 | 1 | -1/+4 |
| | | | | | | | | Use time.monotonic or time.time instead of time.clock. | ||||
* | | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #6598: Increased time precision and random number range in | Serhiy Storchaka | 2015-05-19 | 1 | -1/+24 |
|\ \ | |/ | | | | | 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 | -1/+24 |
| | | | | | | | | email.utils.make_msgid() to strengthen the uniqueness of the message ID. | ||||
* | | #21083: add get_content_disposition method to email.message. | R David Murray | 2015-05-16 | 1 | -0/+11 |
| | | | | | | | | Patch by Abhilash Raj. | ||||
* | | merge 3.4 (#19996) | Benjamin Peterson | 2015-01-26 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | handle headers with no key (closes #19996) | Benjamin Peterson | 2015-01-26 | 1 | -0/+6 |
| | | | | | | | | Patch by Cory Benfield. | ||||
* | | Issue #16324: _charset parameter of MIMEText now also accepts ↵ | Berker Peksag | 2014-09-26 | 1 | -0/+4 |
|/ | | | | | | email.charset.Charset instances. Initial patch by Claude Paroz. | ||||
* | Decreased memory requirements of new tests added in issue21448. | Serhiy Storchaka | 2014-08-12 | 1 | -1/+2 |
| | |||||
* | Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing ↵ | Serhiy Storchaka | 2014-08-12 | 1 | -4/+59 |
| | | | | | | long line. Original patch by Raymond Hettinger. | ||||
* | #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed. | R David Murray | 2014-06-26 | 1 | -0/+25 |
| | | | | This makes the behavior match that of Parser. Patch by Vajrasky Kok. | ||||
* | #11558: Better message if attach called on non-multipart. | R David Murray | 2014-03-06 | 1 | -0/+8 |
| | | | | Original patch by Varun Sharma. | ||||
* | Merge: #14983: always add a line end after a MIME boundary marker. | R David Murray | 2014-02-08 | 1 | -5/+10 |
|\ | |||||
| * | #14983: always add a line end after a MIME boundary marker. | R David Murray | 2014-02-08 | 1 | -5/+10 |
| | | | | | | | | | | | | | | | | | | 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 #19772: Do not mutate message when downcoding to 7bit. | R David Murray | 2014-02-08 | 1 | -1/+11 |
|\ \ | |/ | |||||
| * | #19772: Do not mutate message when downcoding to 7bit. | R David Murray | 2014-02-08 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | 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/+20 |
|\ \ | |/ | |||||
| * | #17369: Improve handling of broken RFC2231 values in get_filename. | R David Murray | 2014-02-07 | 1 | -0/+20 |
| | | | | | | | | This fixes a regression relative to python2. | ||||
* | | #20531: Apply the 3.3 version of the #19063 fix. | R David Murray | 2014-02-07 | 1 | -0/+32 |
| | | | | | | | | | | 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 | 1 | -40/+12 |
| | | |||||
* | | Merge #20206, #5803: more efficient algorithm that doesn't truncate output. | R David Murray | 2014-01-13 | 1 | -0/+5 |
|\ \ | |/ | | | | | (No idea why test_tarfile is listed as changed...it isn't.) | ||||
| * | #20206, #5803: more efficient algorithm that doesn't truncate output. | R David Murray | 2014-01-13 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | This fixes an edge case (20206) where if the input ended in a character needing encoding but there was no newline on the string, the last byte of the encoded character would be dropped. The fix is to use a more efficient algorithm, provided by Serhiy Storchaka (5803), that does not have the bug. | ||||
| * | #19063: partially fix set_payload handling of non-ASCII string input. | R David Murray | 2013-12-11 | 1 | -0/+32 |
| | | | | | | | | | | | | This is a backward compatible partial fix, the complete fix requires raising an error instead of accepting the invalid input, so the real fix is only suitable for 3.4. | ||||
* | | #19957: Simplify encode_7or8bit now that _payload is always str. | R David Murray | 2013-12-13 | 1 | -1/+8 |
| | | | | | | | | Patch by Vajrasky Kok, test enhancement by me. | ||||
* | | #19063: fix set_payload handling of non-ASCII string input. | R David Murray | 2013-12-11 | 1 | -12/+40 |
| | | | | | | | | | | 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 #19590: Use specific asserts in email tests. | Serhiy Storchaka | 2013-11-16 | 1 | -90/+75 |
|\ \ | |/ | |||||
| * | Issue #19590: Use specific asserts in email tests. | Serhiy Storchaka | 2013-11-16 | 1 | -90/+75 |
| | | |||||
* | | Issue #12037: Fix test_email for desktop Windows. | Terry Jan Reedy | 2013-08-31 | 1 | -4/+4 |
|\ \ | |/ | |||||
| * | Issue #12037: Fix test_email for desktop Windows. | Terry Jan Reedy | 2013-08-31 | 1 | -2/+2 |
| | | |||||
* | | Merge #18324: set_payload now correctly handles binary input. | R David Murray | 2013-08-22 | 1 | -0/+36 |
|\ \ | |/ | |||||
| * | #18324: set_payload now correctly handles binary input. | R David Murray | 2013-08-22 | 1 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | This also backs out the previous fixes for for #14360, #1717, and #16564. Those bugs were actually caused by the fact that set_payload didn't decode to str, thus rendering the model inconsistent. This fix does mean the data processed by the encoder functions goes through an extra encode/decode cycle, but it means the model is always consistent. Future API updates will provide a better way to encode payloads, which will bypass this minor de-optimization. Tests by Vajrasky Kok. | ||||
* | | #18505: merge with 3.3. | Ezio Melotti | 2013-08-10 | 1 | -4/+1 |
|\ \ | |/ | |||||
| * | #18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok. | Ezio Melotti | 2013-08-10 | 1 | -4/+1 |
| | |