39 Commits (41bade96a4d1dcd35bbba79c2eabe052d02756a4)

Author SHA1 Message Date
R David Murray e5e366c856 #11584: make Header and make_header handle binary unknown-8bit input 15 years ago
R David Murray 6bdb1769dc #11584: make decode_header handle Header objects correctly 15 years ago
R David Murray 01581ee0b7 #11492: rewrite header folding algorithm. Less code, more passing tests. 15 years ago
Ezio Melotti ce073cdac7 Fix typo in docstring. 15 years ago
R David Murray 308f14aeae Add maxlinelen to docstring, delete obsolete wording 15 years ago
R David Murray e1292a25d8 #11492: fix header truncation on folding when there are runs of split chars. 15 years ago
R David Murray 041015cc70 #11584: Since __getitem__ returns headers, make decode_header handle them. 15 years ago
R David Murray de91276a5c #11401: handle headers with no value. 15 years ago
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 15 years ago
R David Murray cd37dfcfac Harmonize linesep docstrings, and fix the quoting of \r\n 15 years ago
R. David Murray 43b2f457a0 Merged revisions 87136,87221,87256,87337-87338,87571,87839,88164 via svnmerge from 15 years ago
R. David Murray 389af00371 Merged revisions 87873 via svnmerge from 15 years ago
R. David Murray 5b2d9ddf69 #5871: protect against header injection attacks. 15 years ago
R. David Murray 9253214fd9 #10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s. 15 years ago
R. David Murray 6f0022d84a Fix formatting of values with embedded newlines when rfc2047 encoding 15 years ago
R. David Murray f9844c8292 Merged revisions 87750 via svnmerge from 15 years ago
R. David Murray 477efb3944 #10790: make append work when output codec is different from input codec 15 years ago
R. David Murray 5723d225f8 Merged revisions 87567 via svnmerge from 15 years ago
R. David Murray 4c1da4c2a8 Fix a comment typo and update another comment to match Python3 reality 15 years ago
R. David Murray 8451c4b6e0 #1349106: add linesep argument to generator.flatten and header.encode. 16 years ago
R. David Murray e06528c64b Merged revisions 83690 via svnmerge from 16 years ago
R. David Murray c4e69cc1d8 #3196: if needed pad a short base64 encoded word before trying to decode. 16 years ago
Amaury Forgeot d'Arc 1c25de69ee Merged revisions 73952 via svnmerge from 17 years ago
Barry Warsaw bef9d21d14 Make test_email.py completely pass. This is cheating though because the two 19 years ago
Barry Warsaw 00b34228bb More email package fixes. 19 years ago
Barry Warsaw 2cc1f6d95b More email package related repairs. This fixes smtplib's import and use of 19 years ago
Guido van Rossum 9604e66660 Oops. I copied a slightly older version of the email package from the sandbox. 19 years ago
Guido van Rossum 8b3febef2f Copying the email package back, despite its failings. 19 years ago
Guido van Rossum 6398b7a351 Remove the email package for now. 19 years ago
Guido van Rossum d4eda825c7 SF patch# 1757839 by Alexandre Vassalotti -- make test_mailbox and 19 years ago
Guido van Rossum ef87d6ed94 Rip out all the u"..." literals and calls to unicode(). 19 years ago
Guido van Rossum d8faa3654c Merged revisions 53952-54987 via svnmerge from 19 years ago
Guido van Rossum b053cd8f40 Killed the <> operator. You must now use !=. 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Barry Warsaw bb11386730 Big email 3.0 API changes, with updated unit tests and documentation. 22 years ago
Barry Warsaw 6f3b033774 _split_ascii(): Small optimization by RH. 22 years ago
Barry Warsaw 3d1f397f1a Update to Python 2.3, getting rid of backward compatiblity crud. Get rid of a 22 years ago
Barry Warsaw ba1548a736 __unicode__(): Fix the logic for calculating whether to add a 23 years ago
Barry Warsaw 6613fb8412 _encode_chunks(): Throw out empty chunks. 23 years ago
Barry Warsaw 5b8c69f11e _split_ascii() [method and function]: Don't join the lines just to 23 years ago
Barry Warsaw 33975eac3d _split_ascii(): lstrip the individual lines in the ascii split lines, 23 years ago
Barry Warsaw 9f3fcd9c23 More internal refinements of the ascii splitting algorithm. 23 years ago
Tim Peters 2b4821347f Repaired a misleading comment Barry inherited from me. 23 years ago
Barry Warsaw bd836dfba3 _split_ascii(): In the clause where curlen + partlen > maxlen, if the 23 years ago
Barry Warsaw 4848805341 __unicode__(): When converting to a unicode string, we need to 23 years ago
Barry Warsaw 671c3e6373 decode_header(): Typo when appending an unencoded chunk to the 23 years ago
Barry Warsaw e899e51c06 Merge of the folding-reimpl-branch. Specific changes, 23 years ago
Barry Warsaw f4fdff715a Header.__init__(), .append(): Add an optional argument `errors' which 24 years ago
Barry Warsaw 67f8f2fe2a append(): Fixing the test for convertability after consultation with 24 years ago
Barry Warsaw 5e3bcff651 __init__(): Fix an invariant, that the charset item in a chunk tuple 24 years ago