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