Commit Graph

23 Commits

Author SHA1 Message Date
Brett Cannon c249bdab92 Have mimify raise a DeprecationWarning. The docs and PEP 4 have listed the
module as deprecated for a while.
2007-05-30 21:48:58 +00:00
Guido van Rossum 68468eba63 Get rid of many apply() calls. 2003-02-27 20:14:51 +00:00
unknown fee75ac4e5 Fix for SF bug #425868.
We should not depend on two spaces between words, so use the white
space after the to-be-encoded word only as lookahead and don't
actually consume it in the regular expression.
2001-07-04 10:15:58 +00:00
Guido van Rossum 6274fff287 Fix an unqualified except:.
This came out of SF bug #411881.
2001-04-10 15:42:02 +00:00
Eric S. Raymond 6e025bcde8 String method cleanup. 2001-02-10 00:22:33 +00:00
Eric S. Raymond 6b8c52835c String method conversion. 2001-02-09 07:10:12 +00:00
Skip Montanaro 03d9014992 added a few more __all__ lists
test___all__.py: fail silently in check_all if the module can't be imported
2001-01-25 15:29:22 +00:00
Tim Peters 07e99cb774 Whitespace normalization. 2001-01-14 23:47:14 +00:00
Guido van Rossum 4b8c6eaf8b Actually, the previous batch's comment should have been different;
*this* set of patches is Ka-Ping's final sweep:

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.
2000-02-04 15:39:30 +00:00
Guido van Rossum 54f22ed30b More trivial comment -> docstring transformations by Ka-Ping Yee,
who writes:

Here is batch 2, as a big collection of CVS context diffs.
Along with moving comments into docstrings, i've added a
couple of missing docstrings and attempted to make sure more
module docstrings begin with a one-line summary.

I did not add docstrings to the methods in profile.py for
fear of upsetting any careful optimizations there, though
i did move class documentation into class docstrings.

The convention i'm using is to leave credits/version/copyright
type of stuff in # comments, and move the rest of the descriptive
stuff about module usage into module docstrings.  Hope this is
okay.
2000-02-04 15:10:34 +00:00
Guido van Rossum 1015be3812 [Sjoerd Mullender]
Fixed infinite loop when a message ends prematurely in some
circumstances.
1998-08-07 15:26:56 +00:00
Guido van Rossum 13452644d5 Sjoerd writes: When a multipart message is incomplete, mimify crashes. 1998-02-27 14:40:38 +00:00
Guido van Rossum 11fbef5f92 Sjoerd sez: global substitute \240 with \177. 1997-12-02 17:45:39 +00:00
Guido van Rossum 613418aa09 New version from Sjoerd, small bugfix + optimizations. 1997-10-30 15:27:37 +00:00
Guido van Rossum 31626bce66 re -> regex conversions by Sjoerd. 1997-10-24 14:46:16 +00:00
Guido van Rossum 88bb808d77 Fixed (and documented, see Doc/libmimify.tex) mime_decode_header() and
mime_encode_header().
1997-08-14 14:10:37 +00:00
Guido van Rossum 74d25e7d8a Mention decode_base64 in example. 1997-07-30 22:02:28 +00:00
Guido van Rossum a3d9e02593 base64 support by Sjoerd. 1997-04-11 15:22:56 +00:00
Guido van Rossum f789ee4a86 Avoid crashes with nested multipart/mixed parts. 1997-03-20 14:42:17 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 69155682e6 small fix by Sjoerd 1996-06-10 19:04:02 +00:00
Guido van Rossum 68ded217f7 minor fix to mime header regex --Sjoerd 1996-05-28 19:52:40 +00:00
Sjoerd Mullender e8a0a5c92a Module to convert a mail message to or from quoted-printable. The
message may consist of several MIME parts in which case each part is
converted independent of the others.  Only converts when necessary.
1996-02-14 10:40:03 +00:00