summaryrefslogtreecommitdiffstats
path: root/Lib/formatter.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-02-08 16:48:20 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-02-08 16:48:20 (GMT)
commit905c8c3d8dfe081d91e399aa5fd93d1659655264 (patch)
tree898bc50c4048cc85caddcd74af36237e0768475e /Lib/formatter.py
parent7c389e2404b97b5e48c02e2735229eef30e3f1cf (diff)
downloadcpython-905c8c3d8dfe081d91e399aa5fd93d1659655264.zip
cpython-905c8c3d8dfe081d91e399aa5fd93d1659655264.tar.gz
cpython-905c8c3d8dfe081d91e399aa5fd93d1659655264.tar.bz2
#19772: Do not mutate message when downcoding to 7bit.
This is a bit of an ugly hack because of the way generator pieces together the output message. The deepcopys aren't too expensive, though, because we know it is only called on messages that are not multiparts, and the payload (the thing that could be large) is an immutable object. Test and preliminary work on patch by Vajrasky Kok.
Diffstat (limited to 'Lib/formatter.py')
0 files changed, 0 insertions, 0 deletions