summaryrefslogtreecommitdiff
path: root/Lib/email/quoprimime.py
Commit message (Collapse)AuthorAgeFilesLines
* Correct misspellings of ISO-8859Martin Panter2016-08-101-1/+1
|
* Issue #20976: pyflakes: Remove unused importsVictor Stinner2014-03-201-1/+0
|
* #20206, #5803: more efficient algorithm that doesn't truncate output.R David Murray2014-01-131-82/+60
| | | | | | | | 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.
* #18380: pass regex flags to the right argument. Patch by Valentina ↵Ezio Melotti2013-07-061-1/+1
| | | | Mukhamedzhanova.
* Merge #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-241-60/+85
|\
| * #11606: improved body_encode algorithm, no longer produces overlong linesR David Murray2011-03-241-60/+85
| | | | | | | | 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
|\ \ | |/ |/|
| * #10004: in Q encoded word ignore '=xx' when xx is not valid hex.R. David Murray2010-10-011-1/+1
| | | | | | | | Bug report and fix by Thomas Guettler.
| * Merged revisions 73952 via svnmerge fromAmaury Forgeot d'Arc2009-07-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk (Only docstrings were modified, won't backport to 3.1) ........ r73952 | amaury.forgeotdarc | 2009-07-11 16:33:51 +0200 (sam., 11 juil. 2009) | 4 lines #2622 Import errors in email.message, from a py2app standalone application. Patch by Mads Kiilerich, Reviewed by Barry Warsaw. ........
* | #11590: fix quoprimime decode handling of empty strings and line endings.R David Murray2011-03-231-3/+3
| |
* | Merged revisions 85142 via svnmerge fromR. David Murray2010-10-011-1/+1
|/ | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85142 | r.david.murray | 2010-10-01 11:40:20 -0400 (Fri, 01 Oct 2010) | 5 lines #10004: in Q encoded word ignore '=xx' when xx is not valid hex. Bug report and fix by Thomas Guettler. ........
* Remove nonexisting stuff from __all__.Georg Brandl2009-06-041-2/+0
|
* #2834: Change re module semantics, so that str and bytes mixing is forbidden,Antoine Pitrou2008-08-191-6/+6
| | | | | and str (unicode) patterns get full unicode matching by default. The re.ASCII flag is also introduced to ask for ASCII matching instead.
* More email package fixes.Barry Warsaw2007-08-311-1/+1
| | | | | | | | | Fix a couple of tests since .body_encode()'s arguments have changed. Also, I think body_encode() should take a string not a byte array for consistency with the rest of the api (but I'm not positive about this). In quoprimime.body_encode(), body_check() must be passed an int. Current status: 7F (no errors!)
* More email package related repairs. This fixes smtplib's import and use ofBarry Warsaw2007-08-301-1/+1
| | | | | | | | | | | email.base64mime, but test_smtplib still has failures for me. They are timeout errors so think they're more related to my current wacky network setup than bugs remaining in the code related to the email package. This also r57693 that got clobbered with the sandbox sync, and fixes a couple of other minor problems that cropped up. I will kill the sandbox branch next. The email package now has 11F/11E.
* Make this module importable, this gets test___all__ to pass.Neal Norwitz2007-08-301-1/+1
|
* Oops. I copied a slightly older version of the email package from the sandbox.Guido van Rossum2007-08-301-55/+44
| | | | | | | This should restore the email package in the py3k branch to exactly what's in the sandbox. This wipes out 1-2 fixes made post-copy, which I'll re-apply shortly.
* Fix a more bytes/str confusion.Barry Warsaw2007-08-301-1/+4
| | | | | | | Use str.encode('raw-unicode-escape') consistently instead of bytes(string). Remove the convert_eols argument from base64mime.decode(). This matches previous API changes done to the quoprimime module.
* Copying the email package back, despite its failings.Guido van Rossum2007-08-301-0/+307
|
* Remove the email package for now.Guido van Rossum2007-08-251-336/+0
| | | | | | Once Barry and the email-sig have a working new version we'll add it back. If it doesn't make the 3.0a deadline (release August 31), too bad.
* Killed the <> operator. You must now use !=.Guido van Rossum2006-08-241-1/+1
| | | | | Opportunistically also fixed one or two places where '<> None' should be 'is not None' and where 'type(x) <> y' should be 'not isinstance(x, y)'.
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-0/+336
number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.