Vajrasky Kok added the comment: I come out with two patches.
The first patch using bytes generator to copy the message before mutating it in string generator, then restore it after printing the mutated message. ---------- keywords: +patch Added file: http://bugs.python.org/file32865/fix_serialization_message_object_mutation_v1.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