summaryrefslogtreecommitdiffstats
path: root/Lib/mimetools.py
Commit message (Collapse)AuthorAgeFilesLines
* Skip Montanaro submits a simple patch that makes encode() and decode()Guido van Rossum2000-04-041-0/+4
| | | | recognize the '7bit' and '8bit' encodings, to simplify use.
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-12/+13
| | | | | | | | | | | | | | | | | | 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.
* Use random instead of whrandom.Guido van Rossum1998-05-201-2/+2
|
* Avoid using the obsolete rand module; and improve the randomnessGuido van Rossum1998-04-111-4/+3
| | | | | of the boundary chosen by choose_boudary() by using milliseconds of the timestamp.
* Support uue and x-uue as short names for uuencode.Guido van Rossum1997-12-101-2/+6
|
* Use the modules base64, quopri, and uu, instead of external programsGuido van Rossum1997-07-111-2/+22
| | | | to decode/encode the standard transfer encodings.
* Added getparamnames() to Message class -- return a list of allGuido van Rossum1996-10-041-0/+8
| | | | parameters of the content-type header.
* Don't die when getuid() or getpid() aren't defined.Guido van Rossum1996-08-261-2/+8
|
* removed unused globalsGuido van Rossum1996-05-281-1/+1
|
* add missing loop step to parseplist()Guido van Rossum1996-01-251-0/+1
|
* forget previous change (content-encoding)Guido van Rossum1995-08-291-2/+1
|
* encoding can be content-transfer-encoding or content-encodingGuido van Rossum1995-08-291-1/+2
|
* add seekable option to __init__Guido van Rossum1995-08-071-2/+2
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-2/+76
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-3/+2
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* * More changes due to stricter argument passing rulesGuido van Rossum1993-01-041-1/+1
| | | | | | * Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time() returning a floating point number. (And fix old bug in calendar) * Add recursion level to mainloop.mainloop(), to make it reentrant.
* New modules mimetools and rfc822.Guido van Rossum1992-07-131-0/+113
Minor, minor changes to commands.py and sndhdr.py.