summaryrefslogtreecommitdiffstats
path: root/Lib/mimetools.py
Commit message (Collapse)AuthorAgeFilesLines
* SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger2002-06-011-2/+2
|
* os was already imported in the module, no need to re-importNeal Norwitz2002-03-261-1/+0
|
* Only AttributeError can be raised in this situation - on systems withoutSkip Montanaro2002-03-231-2/+2
| | | | | getuid or getpid. posix_getuid & posix_getpid never raise exceptions when called with no args.
* Do not hide a failure to create a temporary file; if it fails the workFred Drake2001-02-231-5/+1
| | | | | | | will not have been done, and applications need to know that. Also, do not print a message about it; the exception is the right thing. This closes SF bug #133717.
* added a few more __all__ listsSkip Montanaro2001-01-251-0/+2
| | | | test___all__.py: fail silently in check_all if the module can't be imported
* Whitespace normalization.Tim Peters2001-01-141-176/+176
|
* Get rid of string functions.Guido van Rossum2000-12-151-15/+14
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-3/+3
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Return after writing 7bit or 8bit encodings. Closes bug 115712Martin v. Löwis2000-09-301-2/+2
|
* 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.