• R David Murray's avatar
    #12537: in mailbox avoid depending on knowledge of email package internals · b019ee75
    R David Murray authored
    Previously mailbox was copying a list of attributes from one message object to
    another in order to "copy the message data".  This means that any time new
    attributes were added to email.message.Message, mailbox broke.  Now instead it
    copies all attributes from the source object to the target object, skipping
    any mailbox-object-specific attributes to produce the same clean initial
    state it was previously getting by copying only the "known" attributes.
    
    David Lam assisted in the development of this patch.
    b019ee75
mailbox.py 74.3 KB