diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-02-08 11:48:20 -0500 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-02-08 11:48:20 -0500 |
commit | 905c8c3d8dfe081d91e399aa5fd93d1659655264 (patch) | |
tree | 898bc50c4048cc85caddcd74af36237e0768475e /Lib/test/test_peepholer.py | |
parent | 7c389e2404b97b5e48c02e2735229eef30e3f1cf (diff) | |
download | cpython-git-905c8c3d8dfe081d91e399aa5fd93d1659655264.tar.gz |
#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/test/test_peepholer.py')
0 files changed, 0 insertions, 0 deletions