diff options
author | Barry Warsaw <barry@python.org> | 2001-01-31 22:13:15 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-01-31 22:13:15 (GMT) |
commit | 81ad67cdc6e89465d1503267c78ee570406bcc60 (patch) | |
tree | 80fe22163ca89081921dcb70e190c2c617afdb65 /Misc/BLURB | |
parent | b416290d5d646dc90ff288af3f4bbf58e46f3f67 (diff) | |
download | cpython-81ad67cdc6e89465d1503267c78ee570406bcc60.zip cpython-81ad67cdc6e89465d1503267c78ee570406bcc60.tar.gz cpython-81ad67cdc6e89465d1503267c78ee570406bcc60.tar.bz2 |
Two changes:
- 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.
Diffstat (limited to 'Misc/BLURB')
0 files changed, 0 insertions, 0 deletions