[issue19772] str serialization of Message object may mutate the payload and CTE.

R. David Murray report at bugs.python.org
Sat Feb 8 15:21:54 CET 2014


R. David Murray added the comment:

I'm guessing the problem is that copy is a shallow copy, and message objects can be deeply nested.  Doing a deepcopy might work, but as things are currently, that could cost a lot of memory, so I don't want to do that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19772>
_______________________________________


More information about the Python-bugs-list mailing list