summaryrefslogtreecommitdiff
path: root/misc/Makefile.in
diff options
context:
space:
mode:
authorbwarsaw2002-10-14 22:14:40 +0000
committerbwarsaw2002-10-14 22:14:40 +0000
commit01d2770219798020b9da7933e82e69bc5045fa8a (patch)
tree8dc6b7cba3ee20dbba9f70345d747e7246d73a33 /misc/Makefile.in
parentef341f1ed3c01bdbe35215014016ae7365b986f7 (diff)
downloadmailman-01d2770219798020b9da7933e82e69bc5045fa8a.tar.gz
mailman-01d2770219798020b9da7933e82e69bc5045fa8a.tar.zst
mailman-01d2770219798020b9da7933e82e69bc5045fa8a.zip
__setstate__(): This plus email-2.4.3 should fix (most of) Peer
Heinlein's recent problems. This patch adds several things to better update pickled Message objects to the latest email package. Specifically, __init__(): Add a version number to Message objects so that we can make __setstate__() more efficient (I don't want to do the next bit of hackery for every single unpickled Message object). __setstate__(): For Message objects older than the current email package version, we'll ensure that the data format is the same. We keep the previous updates and add one that trolls through the message headers, ensuring that if any of the headers are Header instances, that their chunks all have 2nd items as Charset instances, not strings. This is an invariant for email 2.4.3, but older Message instances might not conform.
Diffstat (limited to 'misc/Makefile.in')
0 files changed, 0 insertions, 0 deletions