Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecated the mhlib module for removal in 3.0. | Brett Cannon | 2008-05-11 | 1 | -0/+4 |
| | |||||
* | Replace list of constants with tuples of constants. | Raymond Hettinger | 2005-02-06 | 1 | -2/+2 |
| | |||||
* | Use cStringIO where available. | Raymond Hettinger | 2004-12-31 | 1 | -1/+4 |
| | |||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -11/+10 |
| | | | | From SF patch #852334. | ||||
* | Implement and apply PEP 322, reverse iteration | Raymond Hettinger | 2003-11-06 | 1 | -2/+1 |
| | |||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -1/+1 |
| | |||||
* | Replace .keys() with .iteritems(). Second review and test by Alex. | Raymond Hettinger | 2002-06-04 | 1 | -2/+2 |
| | |||||
* | Make test_mhlib run again. | Michael W. Hudson | 2002-06-02 | 1 | -1/+1 |
| | | | | | | | | | There's some wierdness here, but the test ran before and not after, so I'm just hacking the change out. Someone more motivated than me can work out what's really happening. Raymond: *PLEASE* run the test suite before checking things like this in! | ||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -5/+2 |
| | |||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-01 | 1 | -5/+5 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 1 | -2/+2 |
| | |||||
* | Folder.getlast(): avoid PyChecker warning. | Guido van Rossum | 2001-10-17 | 1 | -1/+1 |
| | |||||
* | Clean up a bare except: clause. | unknown | 2001-07-04 | 1 | -1/+1 |
| | |||||
* | String method cleanup. | Eric S. Raymond | 2001-02-10 | 1 | -4/+2 |
| | |||||
* | Test with an actual mbox caught a trivial error. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -20/+20 |
| | |||||
* | a few more modules get __all__ | Skip Montanaro | 2001-01-24 | 1 | -0/+1 |
| | |||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -1/+1 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 1 | -1/+1 |
| | | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) | ||||
* | Convert to use class-based exceptions. | Fred Drake | 2000-06-29 | 1 | -2/+3 |
| | | | | Correct exception information in one docstring. | ||||
* | More trivial comment -> docstring transformations by Ka-Ping Yee, | Guido van Rossum | 2000-02-04 | 1 | -150/+147 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Patch by Lars Wirzenius: | Guido van Rossum | 1999-02-24 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | o the initial comment is wrong: creating messages is already implemented o Message.getbodytext: if the mail or it's part contains an empty content-transfer-encoding header, the code used to break; the change below treats an empty encoding value the same as the other types that do not need decoding o SubMessage.getbodytext was missing the decode argument; the change below adds it; I also made it unconditionally return the raw text if decoding was not desired, because my own routines needed that (and it was easier than rewriting my own routines ;-) | ||||
* | "if match(x) >= 0:" smells of regex matching; should use "if match(x):" | Guido van Rossum | 1998-06-23 | 1 | -1/+1 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -608/+608 |
| | |||||
* | Use string.replace instead of regsub.[g]sub. | Guido van Rossum | 1997-12-24 | 1 | -4/+4 |
| | |||||
* | Convert all remaining *simple* cases of regex usage to re usage. | Guido van Rossum | 1997-10-22 | 1 | -15/+9 |
| | |||||
* | Use sys.exc_info() where needed. | Guido van Rossum | 1997-09-29 | 1 | -1/+1 |
| | |||||
* | Added createmessage() -- Lars Wirzenius. | Guido van Rossum | 1997-07-25 | 1 | -0/+26 |
| | |||||
* | Reindented with 4 spaces. | Guido van Rossum | 1997-04-16 | 1 | -816/+813 |
| | |||||
* | Rewrite parsesequence() to emulate MH without invoking pick. | Guido van Rossum | 1997-04-16 | 1 | -38/+132 |
| | | | | Test it extensively by using pick. | ||||
* | Optimized the hell out of listmessages(). | Guido van Rossum | 1997-04-02 | 1 | -10/+8 |
| | | | | | Changed numericprog regexpr to make it faster to check. Removed now unnecessary checks for os.curdir, os.pardir. | ||||
* | When removing a messge from all sequences, don't remove from 'cur', | Guido van Rossum | 1996-11-12 | 1 | -0/+3 |
| | | | | which needs to stay unless explicitly set. | ||||
* | Added option to refilemessages() to keep sequences | Guido van Rossum | 1996-07-21 | 1 | -4/+27 |
| | |||||
* | added setcontext and parsesequence; several small fixes | Guido van Rossum | 1996-05-28 | 1 | -6/+56 |
| | |||||
* | fix bogus test for regex match | Guido van Rossum | 1995-01-26 | 1 | -1/+1 |
| | |||||
* | * Lib/mhlib.py: added movemessage(), copymessage(), added copy | Guido van Rossum | 1995-01-02 | 1 | -8/+81 |
| | | | | fallback for refilemessages(), and updated the docs | ||||
* | mhlib.py: delay opening of sequences file so we don't overwrite it when | Guido van Rossum | 1994-09-09 | 1 | -2/+11 |
| | | | | | | putsequences is called with a bad argument rfc822.py: better handling of dates with no or bad timezones uu.py: contributed by Lance -- uu{en,de}code | ||||
* | * Lib/mhlib.py (removefromallsequences): call putsequences with | Guido van Rossum | 1994-07-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | proper argument * Lib/{bdb,cmd,pdb}.py: Mods by Rickard Westman: No longer barfs on lambda:s (outputs "<lambda>" as the function name); "a(rgs)" in pdb now works; help messages added to pdb (lifted from pdb.doc). Also, "h pdb" calls pdb.help(). cmd.do_help() displays topics on a nicer way (I think). Also, topics for which there is a help_ method, but no do_method (like "pdb" above) are displayed in a special way. My own mod: fix break on function to also support methods. | ||||
* | mhlib.py: new interface to MH folders and messages | Guido van Rossum | 1994-06-23 | 1 | -0/+735 |
multifile.py: added readlines() and read() methods mimetools.py: mimetools.py: added functions to encode/decode standard MIME Content-transfer-encoding types (as well as uuencode) rfc822.py: Accept lines ending in CR LF as well |