Vajrasky Kok added the comment:

I got another inspiration.

The third patch uses copy.copy to copy the Message before mutating it in string 
generator, then restore it after printing the mutated message.

----------
Added file: 
http://bugs.python.org/file32867/fix_serialization_message_object_mutation_v3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to