]> granicus.if.org Git - python/commit
Document the two changes to the mailbox.py module:
authorBarry Warsaw <barry@python.org>
Wed, 31 Jan 2001 22:14:01 +0000 (22:14 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 31 Jan 2001 22:14:01 +0000 (22:14 +0000)
commit30dbd1429aa3c6e8854ea575ae7dd188ad000aa0
tree28414f0be636c37dd622e4de0438c3d1b53846b7
parent81ad67cdc6e89465d1503267c78ee570406bcc60
Document the two changes to the mailbox.py module:

- All constructors grow an optional argument `factory' which is a
  callable used when new message instances are created by the next()
  methods.  Defaults to the rfc822.Message class.

- A new subclass of UnixMailbox is added, called PortableUnixMailbox.
  It's identical to UnixMailbox, but uses a more portable test for
  From_ delimiter lines.  With PortableUnixMailbox, any line that
  starts with "From " is considered a delimiter (this should really
  check for two newlines before the F, but it doesn't.
Doc/lib/libmailbox.tex
Misc/NEWS