summaryrefslogtreecommitdiff
path: root/Lib/email
Commit message (Collapse)AuthorAgeFilesLines
* #19003: Only replace \r and/or \n line endings in email.generator.R David Murray2016-09-111-6/+10
| | | | | This is a further restoration of backward compatibility, as well as being correct per the RFCs.
* #28047: Fix calculation of base64 line length.R David Murray2016-09-091-4/+5
| | | | | This is buggy in the old email code as well, but it doesn't affect anything there because only the default line length is ever used there.
* #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.R David Murray2016-09-081-9/+1
|
* Issue #27445: Don't pass str(_charset) to MIMEText.set_payload()Berker Peksag2016-09-081-3/+1
| | | | Patch by Claude Paroz.
* Issue #27895: Spelling fixes (Contributed by Ville Skytt?).Martin Panter2016-09-071-1/+1
|
* #22233: Only split headers on \r and/or \n, per email RFCs.R David Murray2016-09-072-17/+25
| | | | Original patch by Martin Panter, new policy fixes by me.
* 27988: Make sure iter_attachments does not mutate the payload list.R David Murray2016-09-071-1/+1
|
* Correct misspellings of ISO-8859Martin Panter2016-08-102-2/+2
|
* 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-151-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-08-0111-43/+65
|\ | | | | | | Patch from Dmitry Shachnev.
| * Issue #21448: Improve performance of the email feedparserRaymond Hettinger2015-05-221-8/+8
| |
| * Issue #6598: Increased time precision and random number range inSerhiy Storchaka2015-05-1910-35/+57
| |\ | | | | | | | | | 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-036-25/+8
| | |\
| | | * Merge: #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-296-25/+8
| | | |\
| | | | * 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-251-1/+10
| | | | |\
| | | | * \ Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-1/+1
| | | | |\ \
| | | | * \ \ Merge: #21991: make headerregistry params property MappingProxyType.R David Murray2014-10-174-19/+8
| | | | |\ \ \
| | | | | * | | #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
| | | | | |\ \ \
| | | | | * | | | Issue #16324: _charset parameter of MIMEText now also accepts ↵Berker Peksag2014-09-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | email.charset.Charset instances. Initial patch by Claude Paroz.
| | | | | * | | | Merge: #21091: make is_attachment a method.R David Murray2014-09-202-17/+5
| | | | | |\ \ \ \
| | | | | | * \ \ \ Merge: #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.
| | | | | | * \ \ \ \ \ #20977: merge with 3.4.Ezio Melotti2014-08-041-2/+4
| | | | | | |\ \ \ \ \ \
| | | | | | | * | | | | | Issue #22033: Reprs of most Python implemened classes now contain actualSerhiy Storchaka2014-07-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | class name instead of hardcoded one.
* | | | | | | | | | | | | Issue #22932: Fix timezones in email.utils.formatdate.Robert Collins2015-08-011-23/+7
|/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Dmitry Shachnev.
* | | | | | | | | | | | 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.
* | | | | | | | | | | Escaped backslashes in docstrings.Serhiy Storchaka2015-04-031-1/+1
|/ / / / / / / / / /
* | | | | | | | | | #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-291-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...
* | | | | | | | | handle headers with no key (closes #19996)Benjamin Peterson2015-01-251-1/+10
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Patch by Cory Benfield.
* | | | | | | | Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-1/+1
|/ / / / / / /
* | | | | | | #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.
* | | | | | Closes #19434: fix copy-paste error in MIMENonMultipart docstring.Georg Brandl2014-10-021-1/+1
|/ / / / /
* | | | | #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.
* | | | #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.
* | #20977: fix undefined name in the email module. Patch by Rose Ames.Ezio Melotti2014-08-041-3/+3
|/
* #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-061-3/+6
|
* #20976: remove unneeded quopri import in email.utils.R David Murray2014-03-232-4/+2
|