• Barry Warsaw's avatar
    Document the two changes to the mailbox.py module: · 30dbd142
    Barry Warsaw yazdı
    - 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.
    30dbd142
libmailbox.tex 3.61 KB