summaryrefslogtreecommitdiff
path: root/Lib/mailcap.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 80368-80369 via svnmerge fromAntoine Pitrou2010-04-221-5/+3
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80368 | antoine.pitrou | 2010-04-22 15:19:31 +0200 (jeu., 22 avril 2010) | 3 lines Fix mailcap.py built-in test. ........ r80369 | antoine.pitrou | 2010-04-22 15:30:10 +0200 (jeu., 22 avril 2010) | 5 lines Issue #8496: make mailcap.lookup() always return a list, rather than an iterator. Patch by Gregory Nofi. ........
* - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum2007-02-111-1/+1
| | | | | | | | | | and .keys(), .items(), .values() return dict views. The dict views aren't fully functional yet; in particular, they can't be compared to sets yet. but they are useful as "iterator wells". There are still 27 failing unit tests; I expect that many of these have fairly trivial fixes, but there are so many, I could use help.
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-12/+12
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Replaced .keys() with dictionary iteratorsRaymond Hettinger2002-06-021-3/+3
|
* SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger2002-06-011-9/+9
|
* Opening a file for reading can raise IOError, so only catch that.Fred Drake2001-05-111-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-13/+12
|
* a few more modules get __all__Skip Montanaro2001-01-241-0/+1
|
* Whitespace normalization.Tim Peters2001-01-141-3/+3
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-2/+2
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-2/+19
| | | | | | | | | | | | | | | | | | 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.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-128/+128
|
* Change by Andrew Kuchling (edited by Guido):Guido van Rossum1997-03-251-17/+32
| | | | | | Removed unused import tempfile. Added some docstrings.
* typo (cotinue -> continue)Guido van Rossum1996-08-261-1/+1
|
* Initial revisionGuido van Rossum1995-09-301-0/+223