]> granicus.if.org Git - python/commit
Add Gregory K. Johnson's revised version of mailbox.py (funded by
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 22 Apr 2006 02:32:43 +0000 (02:32 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 22 Apr 2006 02:32:43 +0000 (02:32 +0000)
commit1da4a947190802f5825bb72761916bad59cc503e
tree38596017508db44fd969af2765aaa03f81ecf037
parent81efcf6833c97a5488454c83209d253a178eec92
Add Gregory K. Johnson's revised version of mailbox.py (funded by
the 2005 Summer of Code).

The revision adds a number of new mailbox classes that support adding
and removing messages; these classes also support mailbox locking and
default to using email.Message instead of rfc822.Message.

The old mailbox classes are largely left alone for backward compatibility.
The exception is the Maildir class, which was present in the old module
and now inherits from the new classes.  The Maildir class's interface
is pretty simple, though, so I think it'll be compatible with existing
code.

(The change to the NEWS file also adds a missing word to a different
news item, which unfortunately required rewrapping the line.)
Doc/lib/libmailbox.tex
Lib/mailbox.py
Lib/test/test_mailbox.py
Misc/ACKS
Misc/NEWS