Vajrasky Kok added the comment: The second patch copies the private variables of the message before mutating it in string generator, then restore the private variables after printing the mutated message.
---------- Added file: http://bugs.python.org/file32866/fix_serialization_message_object_mutation_v2.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