summaryrefslogtreecommitdiffstats
path: root/Lib/quopri.py
Commit message (Collapse)AuthorAgeFilesLines
* import statements only raise ImportError, right?Skip Montanaro2002-03-231-1/+1
|
* Patch 471400: escape single-dot lines; by Jason Hildebrand.Guido van Rossum2001-10-151-0/+2
| | | | | RFC 2049 recommends never outputting a line consisting of a single dot.
* Whitespace normalization.Tim Peters2001-10-041-5/+5
|
* Patch #462190, patch #464070: Support quoted printable in the binascii module.Martin v. Löwis2001-09-301-11/+44
| | | | Decode and encode underscores for header style encoding. Fixes bug #463996.
* The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum2001-09-041-1/+1
| | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended.
* Whitespace normalization; the plat-riscos file didn't even get byTim Peters2001-07-021-6/+6
| | | | tabnanny.py.
* encode(): Fixed the handling of soft line breaks for lines over 76Barry Warsaw2001-06-191-14/+12
| | | | | characters in length. Remember that when calculating the soft breaks, the trailing `=' sign counts against the max length!
* Better support for RFC 1521 quoted-printable specification, along withBarry Warsaw2001-06-191-25/+77
| | | | | | | | | | | | | | | | | | | | | | addition of interface for consistency with base64 module. Namely, encodestring(), decodestring(): New functions which accept a string object and return a string object. They just wrap the string in StringIOs and pass them to the encode() and decode() methods respectively. encodestring() accepts a default argument of quotetabs, defaulting to zero, which is passed on straight through to encode(). encode(): Fix the bug where an extra newline would always be added to the output, which prevented an idempotent roundtrip through encode->decode. Now, if the source string doesn't end in a newline, then the result string won't end in a newline. Also, extend the quotetabs argument semantics to include quoting embedded strings, which is also optional according to the RFC. test() -> main() "from quopri import *" also imports encodestring() and decodestring().
* Strip \r as trailing whitespace as part of soft line endings.Guido van Rossum2001-03-221-1/+1
| | | | | Inspired by SF patch #408597 (Walter Dörwald): quopri, soft line breaks and CRLF. (I changed (" ", "\t", "\r") into " \t\r".)
* __all__ for several more modulesSkip Montanaro2001-02-121-0/+2
|
* Whitespace normalization.Tim Peters2001-01-151-1/+1
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-1/+1
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Fix Bug #115907: encode '=' as '=3D' and not '=='Jeremy Hylton2000-10-051-121/+122
|
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-1/+15
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-261-28/+28
|
* Added /usr/bin/env python and made executable.Guido van Rossum1997-07-111-0/+2
|
* Set correct RFC number.Guido van Rossum1997-05-081-1/+1
|
* improved test/main programGuido van Rossum1995-09-181-8/+40
|
* two mime encoding schemesGuido van Rossum1995-06-141-0/+101