summaryrefslogtreecommitdiffstats
path: root/Lib/chunk.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2012-04-09 02:36:07 (GMT)
committerR David Murray <rdmurray@bitdance.com>2012-04-09 02:36:07 (GMT)
commitb019ee752a6be0bcd4f640f09bce0c5f5215e880 (patch)
treef133252dfbd0da52f86a59a2c489c595c911ebad /Lib/chunk.py
parentc988e242408ea793052320fc2174fd124f193a77 (diff)
downloadcpython-b019ee752a6be0bcd4f640f09bce0c5f5215e880.zip
cpython-b019ee752a6be0bcd4f640f09bce0c5f5215e880.tar.gz
cpython-b019ee752a6be0bcd4f640f09bce0c5f5215e880.tar.bz2
#12537: in mailbox avoid depending on knowledge of email package internals
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.
Diffstat (limited to 'Lib/chunk.py')
0 files changed, 0 insertions, 0 deletions