summaryrefslogtreecommitdiffstats
path: root/Lib/email
Commit message (Collapse)AuthorAgeFilesLines
* #1874: detect invalid multipart CTE and report it as a defect.R David Murray2011-06-222-0/+8
|
* merge #11584: make Header and make_header handle binary unknown-8bit inputR David Murray2011-06-181-1/+4
|\
| * #11584: make Header and make_header handle binary unknown-8bit inputR David Murray2011-06-182-1/+19
| | | | | | | | | | | | | | | | Analogous to the decode_header fix, this fix makes Header.append and make_header correctly handle the unknown-8bit charset introduced by email5.1, when the input to them is binary strings. Previous to this fix the make_header(decode_header(x)) == x invariant was broken in the face of the unknown-8bit charset.
* | merge #11584: make decode_header handle Header objects correctlyR David Murray2011-06-181-2/+3
|\ \ | |/ | | | | | | This updates 12e39cd7a0e4 (merge of b21fdfa0019c), which fixed this bug incorrectly.
| * #11584: make decode_header handle Header objects correctlyR David Murray2011-06-182-4/+5
| | | | | | | | This updates b21fdfa0019c, which fixed this bug incorrectly.
* | #11731: simplify/enhance parser/generator API by introducing policy objects.R David Murray2011-04-185-34/+238
| | | | | | | | | | | | | | | | This new interface will also allow for future planned enhancements in control over the parser/generator without requiring any additional complexity in the parser/generator API. Patch reviewed by Éric Araujo and Barry Warsaw.
* | Merge: #11492: rewrite header folding algorithm. Less code, more passing tests.R David Murray2011-04-181-180/+109
|\ \ | |/
| * #11492: rewrite header folding algorithm. Less code, more passing tests.R David Murray2011-04-182-197/+241
| |
| * Improve message.py test coverage to 100%.R David Murray2011-04-161-0/+56
| | | | | | | | | | coverage.py reports 99% on branch coverage, but that appears to be a bug or limitation in coverage.py.
* | Remove unused method from internal class.R David Murray2011-04-151-3/+0
| |
* | #11684: Complete parser bytes interface by adding BytesHeaderParserR David Murray2011-04-132-2/+12
| | | | | | | | Patch by Steffen Daode Nurpmeso.
* | Merge with 3.2.Ezio Melotti2011-04-131-1/+1
|\ \ | |/
| * Merge with 3.1.Ezio Melotti2011-04-131-1/+1
| |\
| | * Fix typo in docstring.Ezio Melotti2011-04-131-1/+1
| | |
* | | Merge: Add maxlinelen to docstring, delete obsolete wordingR David Murray2011-04-121-6/+6
|\ \ \ | |/ /
| * | Merge: Add maxlinelen to docstring, delete obsolete wordingR David Murray2011-04-121-6/+6
| |\ \ | | |/
| | * Add maxlinelen to docstring, delete obsolete wordingR David Murray2011-04-121-6/+6
| | |
* | | Merge #11492: fix header truncation on folding when there are runs of split ↵R David Murray2011-04-081-3/+4
|\ \ \ | |/ / | | | | | | | | | | | | chars. Not a complete fix for this issue.
| * | Merge #11492: fix header truncation on folding when there are runs of split ↵R David Murray2011-04-082-3/+14
| |\ \ | | |/ | | | | | | | | | | | | chars. Not a complete fix for this issue.
| | * #11492: fix header truncation on folding when there are runs of split chars.R David Murray2011-04-082-3/+14
| | | | | | | | | | | | Not a complete fix for this issue.
| * | Merge: Improve test coverage of _split_ascii method.R David Murray2011-04-081-0/+43
| |\ \ | | |/
| | * Improve test coverage of _split_ascii method.R David Murray2011-04-081-0/+43
| | |
* | | #1690608: make formataddr RFC2047 aware.R David Murray2011-04-061-6/+22
| | | | | | | | | | | | Patch by Torsten Becker.
* | | Merge #11605: don't use set/get_payload in feedparser; they do conversions.R David Murray2011-04-061-2/+2
|\ \ \ | |/ /
| * | #11605: don't use set/get_payload in feedparser; they do conversions.R David Murray2011-04-062-2/+49
| | | | | | | | | | | | | | | Really the whole API needs to be gone over to restore the separation of concerns; but that's what email6 is about.
* | | Remove the 'strict' argument to Parser, deprecated since 2.4.R David Murray2011-03-291-22/+2
| | |
* | | Merge #11584: Since __getitem__ returns headers, make decode_header handle them.R David Murray2011-03-251-0/+6
|\ \ \ | |/ /
| * | #11584: Since __getitem__ returns headers, make decode_header handle them.R David Murray2011-03-252-0/+20
| | | | | | | | | | | | | | | | | | | | | Why I consider this a bug rather than an API change: the API change was to Message, which didn't used to return Headers unless you added them yourself. Now it does (for 8bit binary header input), so decode_header needs to be able to handle them.
* | | Merge #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-241-60/+85
|\ \ \ | |/ /
| * | Merge #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-242-61/+103
| |\ \ | | |/
| | * #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-242-61/+103
| | | | | | | | | | | | Algorithm and initial patch by Michael Henry.
* | | Merge #11590: fix quoprimime decode handling of empty strings and line endings.R David Murray2011-03-231-3/+3
|\ \ \ | |/ /
| * | Merge #11590: fix quoprimime decode handling of empty strings and line endings.R David Murray2011-03-232-3/+18
| |\ \ | | |/
| | * #11590: fix quoprimime decode handling of empty strings and line endings.R David Murray2011-03-232-3/+18
| | |
| * | Merge #11589: add additional tests for the email quoprimime module.R David Murray2011-03-231-14/+178
| |\ \ | | |/
| | * #11589: add additional tests for the email quoprimime module.R David Murray2011-03-231-14/+178
| | | | | | | | | | | | Patch by Michael Henry.
* | | Correctly move email package tests to Lib/test.R David Murray2011-03-2153-6290/+0
| | |
* | | Merge from 3.2Nick Coghlan2011-03-172-5/+60
|\ \ \ | |/ /
| * | #11243: tests and fixes for handling of 'dirty data' in additional methodsR David Murray2011-03-172-5/+60
| | |
* | | Merge #11401 fix from 3.2.R David Murray2011-03-162-1/+8
|\ \ \ | |/ /
| * | Merge #11401 fix from 3.1.R David Murray2011-03-162-1/+8
| |\ \ | | |/
| | * #11401: handle headers with no value.R David Murray2011-03-162-1/+8
| | |
* | | Merge #9298 fix.R David Murray2011-03-162-6/+16
|\ \ \ | |/ /
| * | Merge #9298 fix.R David Murray2011-03-162-6/+16
| |\ \ | | |/
| | * #9298: restore proper folding of base64 encoded bodies.R David Murray2011-03-162-6/+16
| | | | | | | | | | | | Patch by Yves Dorfsman.
* | | #11565: Merge with 3.2.Ezio Melotti2011-03-161-1/+1
|\ \ \ | |/ /
| * | #11565: Merge with 3.1.Ezio Melotti2011-03-161-1/+1
| |\ \ | | |/
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-1/+1
| | |
* | | Merge #11555 as_string doc fix from 3.2.R David Murray2011-03-151-2/+1
|\ \ \ | |/ /
| * | Merge #11555 as_string doc fix from 3.1.R David Murray2011-03-151-2/+1
| |\ \ | | |/