Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-45975: Simplify some while-loops with walrus operator (GH-29347) | Nick Drozd | 2022-11-26 | 1 | -3/+1 |
| | |||||
* | gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) | Petr Viktorin | 2022-06-03 | 1 | -2/+24 |
| | |||||
* | gh-68966: Deprecate the mailcap module (#91951) | Victor Stinner | 2022-04-26 | 1 | -0/+6 |
| | |||||
* | bpo-40094: mailcap.test() uses waitstatus_to_exitcode() (GH-19287) | Victor Stinner | 2020-04-02 | 1 | -0/+1 |
| | | | | mailcap.test() now uses os.waitstatus_to_exitcode() to convert os.system() exit status into an exit code. | ||||
* | #14977: Make mailcap respect the order of the lines in the mailcap file. | R David Murray | 2016-09-10 | 1 | -3/+25 |
| | | | | | This is required by RFC 1542, so despite the subtle behavior change we are treating it as a bug. Patch by Michael Lazar. | ||||
* | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 1 | -2/+2 |
|\ | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
| * | Issue #20331: Fixed possible FD leaks in various modules: | Serhiy Storchaka | 2014-01-25 | 1 | -2/+2 |
| | | | | | | | | http.server, imghdr, mailcap, mimetypes, xml.etree. | ||||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -1/+1 |
|/ | |||||
* | Fix #9923: mailcap now uses the OS path separator for the MAILCAP envvar. ↵ | Nick Coghlan | 2011-08-27 | 1 | -3/+3 |
| | | | | Not backported, since it could break cases where people worked around the old POSIX-specific behaviour on non-POSIX platforms. | ||||
* | Issue #8496: make mailcap.lookup() always return a list, rather than an ↵ | Antoine Pitrou | 2010-04-22 | 1 | -1/+1 |
| | | | | | | iterator. Patch by Gregory Nofi. | ||||
* | Fix mailcap.py built-in test. | Antoine Pitrou | 2010-04-22 | 1 | -4/+2 |
| | |||||
* | - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; | Guido van Rossum | 2007-02-11 | 1 | -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 Rossum | 2007-02-09 | 1 | -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 iterators | Raymond Hettinger | 2002-06-02 | 1 | -3/+3 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -9/+9 |
| | |||||
* | Opening a file for reading can raise IOError, so only catch that. | Fred Drake | 2001-05-11 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -13/+12 |
| | |||||
* | a few more modules get __all__ | Skip Montanaro | 2001-01-24 | 1 | -0/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-14 | 1 | -3/+3 |
| | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -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 Rossum | 2000-02-04 | 1 | -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 Rossum | 1998-03-26 | 1 | -128/+128 |
| | |||||
* | Change by Andrew Kuchling (edited by Guido): | Guido van Rossum | 1997-03-25 | 1 | -17/+32 |
| | | | | | | Removed unused import tempfile. Added some docstrings. | ||||
* | typo (cotinue -> continue) | Guido van Rossum | 1996-08-26 | 1 | -1/+1 |
| | |||||
* | Initial revision | Guido van Rossum | 1995-09-30 | 1 | -0/+223 |